Gentoo Archives: gentoo-user-de

From: Andreas Klein <gugelhuepf@××××××××××.com>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] gcc upgrade und php
Date: Tue, 21 Apr 2009 17:35:19
Message-Id: 200904211932.52382.randy-andy-@web.de
In Reply to: Re: [gentoo-user-de] gcc upgrade und php by Jan Kohnert
1 Hi Jan,
2
3 appropos Use Flags: Will portage bei # emerge -DuvaN world pakete neu bauen? Dann solltest du das mal vorher durchführen.
4 Manchmal ändern sich durch geänderte Profile die settings und dann half bei mir das neu bauen mit besagtem --newuse und erst dann das anschließende -Du world bzw. revdep-rebuild.
5
6 php wurde bei mir mit folgenden Flags gebaut:
7
8 Installed versions: 5.2.9-r2(5)(15:20:18 04/17/09)(berkdb bzip2 cgi cjk cli crypt exif gd gdbm iconv ipv6 kerberos ldap ncurses nls pcre postgres readline recode reflection session spell spl ssl threads truetype unicode xml xmlreader xmlwriter xpm xsl zip zlib -adabas -apache2 -bcmath -birdstep -calendar -cdb -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -imap -inifile -interbase -iodbc -java-external -json -kolab -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -qdbm -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlrpc -yaz -zip-external)
9 Homepage: http://www.php.net/
10 Description: The PHP language runtime engine: CLI, CGI and Apache2 SAPIs.
11
12
13
14 Am Tuesday 21 April 2009 13:42:53 schrieb Jan Kohnert:
15 > Jan Kohnert schrieb:
16 > > http://bugs.gentoo.org/show_bug.cgi?id=266862
17 >
18 > OK, nur um euch auf dem laufenden zu halten: Ich glaube, ich habe den Fehler
19 > mittlerweile verstanden.
20 >
21 > Das Problem tritt bei mir auf, wenn ich php mit USE spell installieren will.
22 > es reicht nicht dem Linker "-lpspell" mitzugeben, er
23 > braucht "-lpspell -lstdc++". Ich bin mir nicht sicher, ob das Problem auf
24 > eine besondere Kompination von USE-Flags zurückzuführen ist - es ist aber
25 > wahrscheinlich -, wäre also an Tests interessiert. Könnt ihr php mit USE
26 > spell ohne Probleme kompilieren (es reicht schon, das configure abzuwarten,
27 > wenn ein Fehler auftritt, kommt er schon dort).
28 >
29 > Bei einem Test auf zwei meiner Maschinen sieht es derzeit so aus:
30 > (1) Maschine eins (zeigt keinen Fehler)
31 > ~ # ldd /usr/lib/libpspell.so
32 > linux-vdso.so.1 => (0x00007fff8f1ff000)
33 > libgpm.so.1 => /lib/libgpm.so.1 (0x0000003468000000)
34 > libaspell.so.15 => /usr/lib/libaspell.so.15 (0x0000003461200000)
35 > libdl.so.2 => /lib/libdl.so.2 (0x0000003462000000)
36 > libstdc++.so.6
37 > => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libstdc++.so.6 (0x0000003465400000)
38 > libm.so.6 => /lib/libm.so.6 (0x0000003461c00000)
39 > libc.so.6 => /lib/libc.so.6 (0x0000003461800000)
40 > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0000003464800000)
41 > libncurses.so.5 => /lib/libncurses.so.5 (0x0000003470c00000)
42 > /lib64/ld-linux-x86-64.so.2 (0x0000003460400000)
43 > ~ #
44 > Der Linktest sieht so aus:
45 > x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include -march=k8 -O3 \
46 > -pipe -fomit-frame-pointer -D_GNU_SOURCE -L/usr/lib64 -Wl,-O1 \
47 > conftest.c -lncurses -laspell -lpspell -lpanel -lncurses -lmcrypt \
48 > -lltdl -lldap -llber -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.5 -lgdbm \
49 > -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl \
50 > -lcrypto -ldl -lcurl -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl -lz \
51 > -lxml2 -lz -lm
52 >
53 > (2) Maschine zwei (zeigt Fehler)
54 > ~ # ldd /usr/lib/libpspell.so
55 > linux-gate.so.1 => (0xffffe000)
56 > libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7f1e000)
57 > libdl.so.2 => /lib/libdl.so.2 (0xb7f1a000)
58 > libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6
59 > (0xb7e2d000)
60 > libm.so.6 => /lib/libm.so.6 (0xb7e08000)
61 > libc.so.6 => /lib/libc.so.6 (0xb7cc8000)
62 > libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
63 > (0xb7cbb000)
64 > /lib/ld-linux.so.2 (0xb7fcb000)
65 > ~ #
66 > Linktest sieht so aus:
67 > i686-pc-linux-gnu-gcc -o conftest -I/usr/include -march=athlon-xp -O2 -pipe \
68 > -fomit-frame-pointer -D_GNU_SOURCE -pthread -D_REENTRANT -L/usr/lib -Wl,-O1 \
69 > conftest.c -lncurses -lpspell -lpq -lpanel -lncurses -lmhash -lmcrypt -lltdl\
70 > -lldap -llber -lcrypt -lpam -lgmp -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.5 \
71 > -lgdbm -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl \
72 > -lcrypto -ldl -lcurl -lidn -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl \
73 > -lz -lxml2 -lz -lm -lssl -lcrypto -ldl
74 >

Replies

Subject Author
Re: [gentoo-user-de] gcc upgrade und php Jan Kohnert <nospam001-lists@×××××××××××××.org>