Gentoo Archives: gentoo-user-de

From: "Gerrit Kühn" <gerrit@××××××××××××××××.de>
To: gentoo-user-de@l.g.o
Cc: Sebastian van de Meer <kernel-error-mobil@××××××××××××.de>
Subject: Re: [gentoo-user-de] 32bit termcap auf amd64 System
Date: Wed, 06 Aug 2008 12:52:45
Message-Id: 20080806145202.941050e6.gerrit@pmp.uni-hannover.de
In Reply to: Re: [gentoo-user-de] 32bit termcap auf amd64 System by "Gerrit Kühn"
1 On Wed, 6 Aug 2008 14:33:02 +0200 Gerrit Kühn <gerrit@××××××××××××××××.de>
2 wrote about Re: [gentoo-user-de] 32bit termcap auf amd64 System:
3
4 GK> SVDM> So einfach geht das, glaube ich, nicht...
5
6 GK> Doch! :-)
7
8 Zu früh gefreut. :-|
9
10 GK> Man muß vor dem emerge nur in make.defaults (in meinem
11 GK> Fall /etc/make.profile/make.defaults) die ABI-Variable von amd64 auf
12 GK> x86 setzen. Danach emerge libtermcap-compat, und schon bekomme ich
13 GK> eine 32bit-lib, die auch einwandfrei funktioniert.
14
15 Das ist richtig für die alten 2007'er releases. Auf einem neuen 2008'er
16 gibt es make.defaults an dieser Stelle aber gar nicht mehr, und wenn ich
17 eine entsprechende Datei mit dem ABI=x86-Eintrag anlege, explodiert emerge:
18
19 ---
20 gcc -shared -o libtermcap.so.2.0.8 -Wl,-soname,libtermcap.so.2 termcap.o
21 tparam.o version.o
22 -lc /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
23 i386:x86-64 architecture of input file `version.o' is incompatible with
24 i386 output collect2: ld returned 1 exit status make: ***
25 [libtermcap.so.2.0.8] Error 1
26 *
27 * ERROR: sys-libs/libtermcap-compat-2.0.8-r2 failed.
28 * Call stack:
29 * ebuild.sh, line 49: Called src_compile
30 * environment, line 2094: Called die
31 * The specific snippet of code:
32 * emake prefix="/" CFLAGS="${CFLAGS} -I." || die
33 * The die message:
34 * (no error message)
35 *
36 * If you need support, post the topmost build error, and the call stack
37 if relevant.
38 * A complete build log is located at
39 '/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r2/temp/build.log'.
40 * The ebuild environment file is located at
41 '/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r2/temp/environment'.
42 *
43
44 * Messages for package sys-libs/libtermcap-compat-2.0.8-r2:
45
46 *
47 * ERROR: sys-libs/libtermcap-compat-2.0.8-r2 failed.
48 * Call stack:
49 * ebuild.sh, line 49: Called src_compile
50 * environment, line 2094: Called die
51 * The specific snippet of code:
52 * emake prefix="/" CFLAGS="${CFLAGS} -I." || die
53 * The die message:
54 * (no error message)
55 *
56 * If you need support, post the topmost build error, and the call stack
57 if relevant.
58 * A complete build log is located at
59 '/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r2/temp/build.log'.
60 * The ebuild environment file is located at
61 '/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r2/temp/environment'.
62 *
63 ---
64
65
66 Ok, hat jemand eine Idee, was man auf 2008'er AMD64-Systemen tun muß, um
67 eine 32bit-lib zu bekommen?
68
69
70 cu
71 Gerrit

Replies

Subject Author
Re: [gentoo-user-de] 32bit termcap auf amd64 System "Gerrit Kühn" <gerrit@××××××××××××××××.de>