Gentoo Archives: gentoo-amd64

From: "Aurélien Francillon" <aurelien.francillon@×××××××××.fr>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] trouble building mozilla on P4 x86_64
Date: Tue, 09 May 2006 14:24:52
Message-Id: 200605091622.24917.aurelien.francillon@inrialpes.fr
1 Hi,
2 It's my first time in installing gentoo on an amd64 host, everyting was ok
3 untill now, thanks ..
4 however i run into trouble with building mozilla (seems to be required to
5 build mozilla from source for grome ). the error is :
6
7 "Only 32bit ELF files supported"
8
9 I'm quite surprised to know that mozilla don't support 64Bit ;) ... I gess
10 this is a bug or a miss configuration from my side ...
11 I searched bugzilla, forums ans google the only relevant link i have found is
12 in greek :(
13 http://www.pctechnology.gr/vbull/vb/archive/index.php/t-14766.html
14
15 if anyone has a hint for me ... or reads greek ;)
16 if it turns out to not be a missconfiguration from my side I will file a bug
17 on b.g.o ...
18
19 Thanks in advance
20 Aurélien
21
22 details:
23 - cpu is a Pentium 4 930
24 - error :
25 x86_64-pc-linux-gnu-g++ -o nsRegistry.o -c -DOSTYPE=\"Linux2.6\"
26 -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS -I./../
27 -I../../../dist/include/xpcom -I../../../dist/include/xpcom_obsolete
28 -I../../../dist/include/string -I../../../dist/include/libreg
29 -I../../../dist/include/xpcom_compat_c -I../../../dist/include
30 -I/var/tmp/portage/mozilla-1.7.13/work/mozilla/dist/include/nspr -I.
31 -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
32 -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -fno-rtti
33 -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align
34 -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
35 -Wno-long-long -march=nocona -pipe -fPIC -Wno-deprecated -Wno-return-type -w
36 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1
37 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
38 -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"
39 -DMOZILLA_CLIENT -include ../../../mozilla-config.h
40 -Wp,-MD,.deps/nsRegistry.pp nsRegistry.cpp
41 rm -f libxpcom_compat_c.so
42 x86_64-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
43 -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -fno-rtti
44 -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align
45 -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
46 -Wno-long-long -march=nocona -pipe -fPIC -Wno-deprecated -Wno-return-type -w
47 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1
48 -fPIC -shared -Wl,-h -Wl,libxpcom_compat_c.so -Wl,-rpath,/usr/lib64/mozilla
49 -o libxpcom_compat_c.so nsXPCOMObsolete.o nsRegistry.o
50 -Wl,-rpath,/usr/lib64/mozilla -L../../../dist/bin -lxpcom
51 -L../../../dist/bin -L/var/tmp/portage/mozilla-1.7.13/work/mozilla/dist/lib
52 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../../dist/lib -lxpcom_compat
53 -Wl,--version-script
54 -Wl,../../../build/unix/gnu-ld-scripts/components-version-script
55 -Wl,-Bsymbolic -lpangoft2-1.0 -ldl -lm
56 chmod +x libxpcom_compat_c.so
57 strip libxpcom_compat_c.so
58 /var/tmp/portage/mozilla-1.7.13/work/mozilla/config/nsinstall -R -m 755
59 libxpcom_compat_c.so ../../../dist/gre/components
60 ../../../dist/bin/elf-dynstr-gc ../../../dist/gre/components/libxpcom_compat_c.so
61 Only 32bit ELF files supported <=====
62 gmake[3]: *** [libs] Error 1
63 gmake[3]: Leaving directory
64 `/var/tmp/portage/mozilla-1.7.13/work/mozilla/xpcom/obsolete/component'
65 gmake[2]: *** [libs] Error 2
66 gmake[2]: Leaving directory
67 `/var/tmp/portage/mozilla-1.7.13/work/mozilla/xpcom/obsolete'
68 gmake[1]: *** [tier_2] Error 2
69 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.13/work/mozilla'
70 make: *** [default] Error 2
71
72
73 - my emerge info :
74 (same result with ACCEPT_KEYWORDS="amd64" )
75
76
77 Portage 2203-svn (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3,
78 2.6.15-gentoo-r7 x86_64)
79 =================================================================
80 System uname: 2.6.15-gentoo-r7 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
81 Gentoo Base System version 1.6.14
82 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
83 [disabled]
84 ccache version 2.3 [enabled]
85 dev-lang/python: 2.4.2
86 dev-python/pycrypto: [Not Present]
87 dev-util/ccache: 2.3
88 dev-util/confcache: [Not Present]
89 sys-apps/sandbox: 1.2.17
90 sys-devel/autoconf: 2.13, 2.59-r7
91 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
92 sys-devel/binutils: 2.16.1
93 sys-devel/libtool: 1.5.22
94 virtual/os-headers: 2.6.11-r2
95 ACCEPT_KEYWORDS="amd64 x86"
96 AUTOCLEAN="yes"
97 CBUILD="x86_64-pc-linux-gnu"
98 CFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe"
99 CHOST="x86_64-pc-linux-gnu"
100 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
101 CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
102 CXXFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe"
103 DISTDIR="/usr/portage/distfiles"
104 FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
105 GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
106 http://gentoo.osuosl.org"
107 LINGUAS="fr es en fr_FR de en_GB pl hu"
108 MAKEOPTS="-j5"
109 PKGDIR="/usr/portage/packages"
110 PORTAGE_TMPDIR="/var/tmp"
111 PORTDIR="/usr/portage"
112 PORTDIR_OVERLAY="/usr/local/portage"
113 SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
114 USE="amd64 X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts
115 bootsplash bzip2 cdparanoia cdr cli crypt ctype cups curl dba dri dvd eds
116 elibc_glibc emboss encode esd ethereal exif expat fam fastbuild flac
117 foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm
118 gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog jpeg kde kernel_linux
119 lcms libg++ libwww live lzw lzw-tiff mad matroska matrox memlimit mikmod mng
120 motif mozilla mp3 mpeg musicbrainz ncurses nls nptl nvidia ogg openal opengl
121 oss pam pcre pdflib perl png posix ppds pppd python qt quicktime readline
122 reflection samba sdl session simplexml slang soap sockets speex spell spl ssl
123 tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev usb
124 userland_GNU vorbis x86 xanim xml xml2 xmms xorg xpm xsl xv xvid zlib
125 linguas_fr linguas_es linguas_en linguas_fr_FR linguas_de linguas_en_GB
126 linguas_pl linguas_hu"
127 Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
128 PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
129
130 --
131 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: trouble building mozilla on P4 x86_64 "Aurélien Francillon" <aurelien.francillon@×××××××××.fr>