View previous topic :: View next topic |
Author |
Message |
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Fri Jun 04, 2004 7:29 pm Post subject: emerge world (glibc) compile error |
|
|
lo,
got a little error compile glibc (world)
Code: | root@spirit yeri # emerge -p world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] sys-libs/glibc-2.3.3_pre20040529 [2.3.2-r9]
[ebuild U ] sys-apps/baselayout-1.9.4 [1.8.12]
[ebuild U ] sys-apps/kbd-1.12-r2 [1.08-r5]
[ebuild U ] sys-devel/binutils-2.15.90.0.1.1-r3 [2.14.90.0.8-r1]
[ebuild U ] media-video/mplayer-1.0_pre4-r4 [1.0_pre4-r3]
[ebuild U ] sys-apps/module-init-tools-3.0-r2 [3.0]
[ebuild U ] sys-apps/file-4.09 [4.06]
[ebuild U ] sys-apps/man-1.5m-r1 [1.5l-r6]
[ebuild U ] sys-devel/libperl-5.8.4 [5.8.2]
[ebuild U ] dev-lang/perl-5.8.4 [5.8.2-r1]
[ebuild U ] sys-devel/gettext-0.12.1-r1 [0.11.5]
[ebuild U ] dev-lang/python-2.3.3-r1 [2.3.3]
[ebuild U ] sys-apps/coreutils-5.2.1 [5.2.0-r2]
[ebuild U ] sys-fs/e2fsprogs-1.35 [1.34]
[ebuild U ] sys-apps/hdparm-5.5 [5.3-r2]
root@spirit yeri # emerge world
Calculating world dependencies ...done!
>>> emerge (1 of 15) sys-libs/glibc-2.3.3_pre20040529 to /
>>> md5 src_uri ;-) glibc-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.3-branch-update-20040529.patch.bz2
* Checking kernel headers for broken sysctl.h ... no
>>> Unpacking source...
>>> Unpacking glibc-2.3.2.tar.bz2 to /var/tmp/portage/glibc-2.3.3_pre20040529/wo
rk
* Applying glibc-2.3.3-branch-update-20040529.patch.bz2... [ ok ]
* Applying glibc-2.3.2-redhat-linuxthreads-fixes.patch... [ ok ]
* Applying glibc-2.3.2-propolice-guard-functions-v3.patch... [ ok ]
* Applying glibc-2.3.3-frandom-detect.patch... [ ok ]
* Applying glibc-2.3.3-localedef-fix-trampoline.patch... [ ok ]
* Applying glibc-2.3.3-dl_execstack-PaX-support.patch... [ ok ]
* Applying glibc-2.3.3_pre20040117-pt_pax.diff... [ ok ]
* Applying glibc-2.3.3_pre20040117-got-fix.diff... [ ok ]
* Applying glibc-2.3.3-owl-malloc-unlink-sanity-check.diff... [ ok ]
* Applying glibc-2.3.2-iconvconfig-name_insert.patch... [ ok ]
* Applying glibc-2.3.2-amd64-nomultilib.patch... [ ok ]
>>> Source unpacked.
nls
* Configuring GLIBC...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking sysdep dirs... sysdeps/x86_64/elf linuxthreads/sysdeps/unix/sysv/linux/
x86_64 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps
/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/s
ysdeps/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysde
ps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sy
sdeps/x86_64/fpu sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysd
eps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sy
sdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix o
f object files: cannot compile
See `config.log' for more details.
!!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed.
!!! Function src_compile, Line 569, Exitcode 1
!!! (no error message) |
what's wrong? (got the same with -U)
it has something to do with the 64bit I guess? |
|
Back to top |
|
|
furkan Guru
Joined: 11 Dec 2003 Posts: 520 Location: Montreal CA
|
Posted: Fri Jun 04, 2004 7:50 pm Post subject: |
|
|
could you post your make.conf and which stage did you doing ? _________________ DELL Inspiron 1501 |
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Fri Jun 04, 2004 8:36 pm Post subject: |
|
|
got the same error :
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
!!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed.
!!! Function src_compile, Line 567, Exitcode 1
!!! (no error message)
I installed from livecd 2004/1 for amd64, stage 3, booted ok, emerge sync, emerge -u world .. BANG !
make.conf :
less /etc/make.conf
# These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-x11 -gtk -gnome -qt -kde -dvd -alsa -cdr"
not much, as you can see.
any ideea ? |
|
Back to top |
|
|
richone n00b
Joined: 19 Jun 2003 Posts: 38
|
Posted: Fri Jun 04, 2004 8:47 pm Post subject: |
|
|
Are you using gcc 3.3 or 3.4,
_________________ ---------------------------------------------------
MSI K8T Master2-FAR * Dual Opteron 244s
1 GB RAM * 3TB Storage <<<<<<<<<<<<<<
Old Nvidia Card (Need 64bit ATI drivers)
I have a 9800AIW waiting in the wings
http://www.robotthoughts.com |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Fri Jun 04, 2004 8:50 pm Post subject: |
|
|
gcc-config -c
x86_64-pc-linux-gnu-3.3.3 |
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Fri Jun 04, 2004 8:51 pm Post subject: |
|
|
seems so, any idea on how could I fix it, though ? |
|
Back to top |
|
|
richone n00b
Joined: 19 Jun 2003 Posts: 38
|
Posted: Fri Jun 04, 2004 9:12 pm Post subject: |
|
|
Try compiling with gcc 3.3
Code: | opteron root # gcc-config -l
[1] x86_64-pc-linux-gnu-3.3.3
[2] x86_64-pc-linux-gnu-3.4.0
opteron root # |
Then select the gcc compile profile for gcc 3.3
Code: |
opteron root # gcc-config 1
|
Don't forget to set it back when you are done with the emerge _________________ ---------------------------------------------------
MSI K8T Master2-FAR * Dual Opteron 244s
1 GB RAM * 3TB Storage <<<<<<<<<<<<<<
Old Nvidia Card (Need 64bit ATI drivers)
I have a 9800AIW waiting in the wings
http://www.robotthoughts.com |
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Fri Jun 04, 2004 9:25 pm Post subject: |
|
|
I only have this, and I think it is the default. anyway I selected it specifically, and it still crashes.
what if I emerge glibc-2.3.4.20040602 ? what can go wrong ? |
|
Back to top |
|
|
Korwiin n00b
Joined: 04 Jun 2004 Posts: 15 Location: Dallas, Texas
|
Posted: Fri Jun 04, 2004 9:44 pm Post subject: |
|
|
I am having the exact same problem.
Using GCC x86_64_pc-linux-gnu-3.3.3
scripts/bootstrap-2.6.sh failes with error in glibc-2.3.3_pre20040529
--Korwiin |
|
Back to top |
|
|
richone n00b
Joined: 19 Jun 2003 Posts: 38
|
Posted: Fri Jun 04, 2004 9:54 pm Post subject: |
|
|
Well it is not a gcc 3.4 issue then _________________ ---------------------------------------------------
MSI K8T Master2-FAR * Dual Opteron 244s
1 GB RAM * 3TB Storage <<<<<<<<<<<<<<
Old Nvidia Card (Need 64bit ATI drivers)
I have a 9800AIW waiting in the wings
http://www.robotthoughts.com |
|
Back to top |
|
|
cryos Retired Dev
Joined: 08 Mar 2003 Posts: 242 Location: US
|
Posted: Fri Jun 04, 2004 11:32 pm Post subject: |
|
|
It wouldn't compile for me either - using gcc 3.3.3. So I have been brave and emerged glibc for 20040602, and it is happily compiling now... Hopefully it won't bork my whole system. If it doesn't I might even try gcc 3.4 - will it be stable soon anyway? |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Sat Jun 05, 2004 6:20 am Post subject: |
|
|
gcc 3.4 already is stable... if you switch to the gcc 3.4 profile you should get 3.4.0-r6. as for glibc... it makes me a sad sad lv to see it giving problems to stable users. ~amd64 users have been using it since it's release without problem and i needed to mark it stable to get gcc 3.4 into stable.
i dont understand why anyone is having trouble.... can you all try upgrading everything but glibc and then upgrading glibc? especially the new binutils release. |
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Sat Jun 05, 2004 6:50 am Post subject: |
|
|
well, I just bought a amd64 which will make up a server, and I said : whoa, this is some proc, and I don't want to waste the resources with debian, so I go for Gentoo, having no ideea what this discution about gcc 3.3/3.4 is all about. Should I really upgrade to 3.4 ? Will it be stable for a server in production ? |
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Sat Jun 05, 2004 8:08 am Post subject: |
|
|
Yes, I'm still running gcc 3.3
updating to gcc 3.4 could be a problem:
Code: | root@spirit yeri # emerge -p /usr/portage/sys-devel/gcc/gcc-3.4.0-r6.ebuild
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-libs/glibc-2.3.3_pre20040529 [2.3.2-r9]
[ebuild N ] sys-devel/gcc-3.4.0-r6 |
that glibc is blocking it... |
|
Back to top |
|
|
tehnomage n00b
Joined: 04 Jun 2004 Posts: 10
|
Posted: Sat Jun 05, 2004 8:12 am Post subject: |
|
|
even if you go for unstable ? |
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Sat Jun 05, 2004 8:31 am Post subject: |
|
|
go for unstable?
unstable glibc u mean ?
I emerge my world file without glibc
Code: | root@spirit yeri # emerge -p world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] sys-libs/glibc-2.3.3_pre20040529 [2.3.2-r9] |
now emerging glibc
Code: | checking for suffix of object files... configure: error: cannot compute suffix o
f object files: cannot compile
See `config.log' for more details.
!!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed.
!!! Function src_compile, Line 569, Exitcode 1
!!! (no error message) |
so emerge the other world file didn't help...
now i'm going to breakfast
|
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Sat Jun 05, 2004 9:36 am Post subject: |
|
|
emerged an unstable version of glibc
Code: | root@spirit yeri # emerge /usr/portage/sys-libs/glibc/glibc-2.3.4.20040602.ebuild |
and that did the job.
although I'm not quite sure how (un)stable 2.3.4 is. |
|
Back to top |
|
|
AlterX l33t
Joined: 03 Apr 2004 Posts: 754 Location: rm -rf /*
|
Posted: Sat Jun 05, 2004 9:39 am Post subject: glibc-2.3.3_pre20040529 error |
|
|
Hi,
I have had this problem with 'merge -u world'
my gcc is v.3.3.
How can we solve this? |
|
Back to top |
|
|
cryos Retired Dev
Joined: 08 Mar 2003 Posts: 242 Location: US
|
Posted: Sat Jun 05, 2004 10:21 am Post subject: |
|
|
Tuinslak wrote: | emerged an unstable version of glibc
Code: | root@spirit yeri # emerge /usr/portage/sys-libs/glibc/glibc-2.3.4.20040602.ebuild |
and that did the job.
although I'm not quite sure how (un)stable 2.3.4 is. |
I've done the same, and am a little worried about how stable it might be. I have just borked KDE up some how and it all looks horrible now too. I think I am missing the plastik style and that is why it looks nasty. Am trying to sort it all out... |
|
Back to top |
|
|
Erdie Advocate
Joined: 20 May 2004 Posts: 2649 Location: Heidelberg - Germany
|
Posted: Sat Jun 05, 2004 12:30 pm Post subject: My Problem is the same .. what can we do? |
|
|
Can I ignore this and just work with the old glibc?
I don't know what to do here .
thx
Erdie |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Sat Jun 05, 2004 4:25 pm Post subject: |
|
|
i dont want to just pull the new glibc out of stable, as it's a new version and anything compiled after upgrading glibc will break. however, i'm quite happy to hear 2.3.4.20040602 works... when i roll up a tarball for 2.3.4.20040605, i'll push that into stable. as for how stable 20040602 is, it's apparently broken on x86... i caught ulrich in the middle of a cvs commit with my last snapshot. 20040605 will fix this, and you might want to wait for it before upgrading just in case.
if it werent for that (the incomplete cvs update), the snapshot would have been good to go. it's certainly no more iffy than the normal 2.3.3_pre snapshots we've been forcing on ~arch users |
|
Back to top |
|
|
Tuinslak Tux's lil' helper
Joined: 26 Nov 2003 Posts: 129 Location: Belgium
|
Posted: Sat Jun 05, 2004 5:38 pm Post subject: |
|
|
furkan wrote: | could you post your make.conf and which stage did you doing ? |
stage 1
make.conf:
Code: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="alsa -gnome -qt -kde -cups X gtk2 -arts"
MAKEOPTS="-j2"
#FEATURES="sandbox buildpkg ccache userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork"
#FEATURES="distcc"
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc" |
_________________ Tuinslak |
|
Back to top |
|
|
RAPUL l33t
Joined: 29 Dec 2002 Posts: 664 Location: Valencia (SPAIN)
|
Posted: Sat Jun 05, 2004 6:25 pm Post subject: Same problem |
|
|
I had the same problem trying to compile glibc-2.3.3_pre20040529 with [1]:
Code: |
gcc-config -l
[1] x86_64-pc-linux-gnu-3.3.3
[2] x86_64-pc-linux-gnu-3.4.0
|
but with [2] (3.4.0-r1) is compiling now. _________________ Entropy rulz world.
Redundancy sux.
World is full of redundancy.
World sux. |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Sat Jun 05, 2004 8:24 pm Post subject: |
|
|
this bug should be fixed now... sorry about that, another dev broke glibc for amd64 while fixing it for mips. it should now compile using gcc 3.3.x as well as 3.4. *shakes head* |
|
Back to top |
|
|
|