Gentoo Archives: gentoo-user-de

From: Jan Kohnert <nospam001-lists@×××××××××××××.org>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] gcc upgrade und php
Date: Tue, 21 Apr 2009 11:43:05
Message-Id: 200904211342.58698.nospam001-lists@jankoh.dyndns.org
In Reply to: Re: [gentoo-user-de] gcc upgrade und php by Jan Kohnert
1 Jan Kohnert schrieb:
2 > http://bugs.gentoo.org/show_bug.cgi?id=266862
3
4 OK, nur um euch auf dem laufenden zu halten: Ich glaube, ich habe den Fehler
5 mittlerweile verstanden.
6
7 Das Problem tritt bei mir auf, wenn ich php mit USE spell installieren will.
8 es reicht nicht dem Linker "-lpspell" mitzugeben, er
9 braucht "-lpspell -lstdc++". Ich bin mir nicht sicher, ob das Problem auf
10 eine besondere Kompination von USE-Flags zurückzuführen ist - es ist aber
11 wahrscheinlich -, wäre also an Tests interessiert. Könnt ihr php mit USE
12 spell ohne Probleme kompilieren (es reicht schon, das configure abzuwarten,
13 wenn ein Fehler auftritt, kommt er schon dort).
14
15 Bei einem Test auf zwei meiner Maschinen sieht es derzeit so aus:
16 (1) Maschine eins (zeigt keinen Fehler)
17 ~ # ldd /usr/lib/libpspell.so
18 linux-vdso.so.1 => (0x00007fff8f1ff000)
19 libgpm.so.1 => /lib/libgpm.so.1 (0x0000003468000000)
20 libaspell.so.15 => /usr/lib/libaspell.so.15 (0x0000003461200000)
21 libdl.so.2 => /lib/libdl.so.2 (0x0000003462000000)
22 libstdc++.so.6
23 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libstdc++.so.6 (0x0000003465400000)
24 libm.so.6 => /lib/libm.so.6 (0x0000003461c00000)
25 libc.so.6 => /lib/libc.so.6 (0x0000003461800000)
26 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0000003464800000)
27 libncurses.so.5 => /lib/libncurses.so.5 (0x0000003470c00000)
28 /lib64/ld-linux-x86-64.so.2 (0x0000003460400000)
29 ~ #
30 Der Linktest sieht so aus:
31 x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include -march=k8 -O3 \
32 -pipe -fomit-frame-pointer -D_GNU_SOURCE -L/usr/lib64 -Wl,-O1 \
33 conftest.c -lncurses -laspell -lpspell -lpanel -lncurses -lmcrypt \
34 -lltdl -lldap -llber -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.5 -lgdbm \
35 -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl \
36 -lcrypto -ldl -lcurl -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl -lz \
37 -lxml2 -lz -lm
38
39 (2) Maschine zwei (zeigt Fehler)
40 ~ # ldd /usr/lib/libpspell.so
41 linux-gate.so.1 => (0xffffe000)
42 libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7f1e000)
43 libdl.so.2 => /lib/libdl.so.2 (0xb7f1a000)
44 libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6
45 (0xb7e2d000)
46 libm.so.6 => /lib/libm.so.6 (0xb7e08000)
47 libc.so.6 => /lib/libc.so.6 (0xb7cc8000)
48 libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
49 (0xb7cbb000)
50 /lib/ld-linux.so.2 (0xb7fcb000)
51 ~ #
52 Linktest sieht so aus:
53 i686-pc-linux-gnu-gcc -o conftest -I/usr/include -march=athlon-xp -O2 -pipe \
54 -fomit-frame-pointer -D_GNU_SOURCE -pthread -D_REENTRANT -L/usr/lib -Wl,-O1 \
55 conftest.c -lncurses -lpspell -lpq -lpanel -lncurses -lmhash -lmcrypt -lltdl\
56 -lldap -llber -lcrypt -lpam -lgmp -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.5 \
57 -lgdbm -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl \
58 -lcrypto -ldl -lcurl -lidn -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl \
59 -lz -lxml2 -lz -lm -lssl -lcrypto -ldl
60
61 --
62 MfG Jan

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user-de] gcc upgrade und php Andreas Klein <gugelhuepf@××××××××××.com>