Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I think between GCC and I we made my box "Go boom"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Mon Jan 31, 2005 9:55 pm    Post subject: I think between GCC and I we made my box "Go boom" Reply with quote

Well I went to do emerge and found there was an issue with GCC and it needed to be upgraded as per:
http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml

Hoewver when I get to this line:
make -f Makefile-profile_update-2005.0
I receive the following error:
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed.
!!! Function src_compile, Line 687, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

make: *** [step6] Error 1


So then I tried following this thread:
https://forums.gentoo.org/viewtopic.php?t=281901&highlight=checking+size+double+configure+error+compute+sizeof+double+77

I can't seem to get past this one.

Any ideas would be great. I don't feel like rebuilding my box.

here is my make.conf
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
USE="multilib dvd dvdr ethereal faad ffmpeg glut imagemagick xine xorg-x11 \
--cups --java -kde -gnome --qt"
CXXFLAGS="${CFLAGS}"


TIA, Ken
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Tue Feb 01, 2005 7:21 pm    Post subject: Reply with quote

Any ideas?
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Tue Feb 01, 2005 7:26 pm    Post subject: Reply with quote

try a simple "emerge glibc" .. ?
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
natata
n00b
n00b


Joined: 01 Jul 2004
Posts: 47
Location: The Netherlands

PostPosted: Tue Feb 01, 2005 11:23 pm    Post subject: Reply with quote

Exactly the same problem... and no way so far to solve it :(
Back to top
View user's profile Send private message
Multiplexor
n00b
n00b


Joined: 06 Jun 2004
Posts: 10

PostPosted: Tue Feb 01, 2005 11:29 pm    Post subject: Reply with quote

I had this same issue that I posted in another thread, no one posted a solution. It has to do with the configure script not being able to link it's test program due to ld not being able to find certain libraries. In the other thread it looked like Moonlight-Flower downloaded 32-bit binary libs and used them to make it work. I guess compiling a 32-bit glibc requires a 32-bit glibc already on the system? I downgraded to 2004.3 because I was tired of trying to fix this problem, maybe I'll try the upgrade again using the glibc binaries.
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Wed Feb 02, 2005 12:01 am    Post subject: Reply with quote

Just for $h175 and giggles I tried the emerge that "Trevoke" and guess what. Same thing. :-(

Is there any suggestions that someone with some expirience might be able to suggest??? I am no programmer, so I am quite out in the dark.
"Multiplexor" Could you post how you got out of it.

checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed.
!!! Function src_compile, Line 687, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Fri Feb 04, 2005 2:03 pm    Post subject: Reply with quote

Ok, if there is no "known fix"for this issue, is this something I sould reinstall my box over? I was really hoping to avoid this.......
If I have to are there any precautions I can take so it doesn't happen again?

TIA
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Sun Feb 06, 2005 9:47 pm    Post subject: Reply with quote

bounce
Back to top
View user's profile Send private message
tcbounce
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2003
Posts: 86
Location: South Korea

PostPosted: Wed Feb 09, 2005 8:57 am    Post subject: hint guys Reply with quote

configure:7131: checking size of long double
configure:7450: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=k8 -fPIC -freorder-blocks -O2 conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /emul/linux/x86/usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
distcc[26549] ERROR: compile conftest.c on localhost failed
configure:7453: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */

We need new precompiled 32bit glibc library that was floating around on the install mirrors under the 2005.0 profile directory. It was bundled with the 2005.0 switch profile script. It's not on the mirrors anymore and obviously we need it.

Cheers,

Luke
Back to top
View user's profile Send private message
tcbounce
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2003
Posts: 86
Location: South Korea

PostPosted: Wed Feb 09, 2005 9:09 am    Post subject: ** fixed ** Reply with quote

The error was self explanitory.

copy (not move or trust profile script) too two copies of the libs in /emul/linux/usr/lib32.

# cp /emul/linux/usr/lib32/* /usr/lib32
/usr/lib32 is a directory NOT a symbolic link (see the 2005.0 instructions).

When glibc has been merged again delete the older files as you see fit.

Cheers,

Luke
Back to top
View user's profile Send private message
what.
n00b
n00b


Joined: 05 Feb 2005
Posts: 12

PostPosted: Fri Feb 18, 2005 8:09 am    Post subject: Reply with quote

I hope I'm not coming across as spammy or anything, as this is the fourth thread about this error I'm posting to, but it was damn frustrating for me not being able to find an answer to this. Hope this saves someone else the trouble.

Anyway: if you have an LDFLAGS line defined in your make.conf, nuke it and try emerging glibc again. Worked for me.
_________________
Free computers? (Help me bring another Gentoo box into the world.)
Back to top
View user's profile Send private message
LordArthas
Guru
Guru


Joined: 01 Nov 2004
Posts: 500
Location: Maniago, Friûl, Italia

PostPosted: Mon Feb 21, 2005 11:04 pm    Post subject: Reply with quote

Hi all!

I had exactly this same problem, which I solved by emerging the real emul-linux-x86-glibc-2.3.4.20041102 package (not the fake emul-linux-x86-glibc-1000) and then following step by step the upgrading by hand section of the AMD64 2005.0 Upgrade Guide.

A question I have now: can I remove the /emul directory? It's still full of subdirectories and files but it seems now it's no longer needed...

Thanks, M.
Back to top
View user's profile Send private message
smasher
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 95

PostPosted: Tue Feb 22, 2005 2:05 am    Post subject: Reply with quote

This worked for me with emul-linux-x86-glibc-2.3.4.20041102 installed.

Code:
cp -ax /emul/linux/x86/usr/lib/* /usr/lib32


Glibc is now compiling... My guess is emul-linux-x86-glibc-1000 is basically a filler now that multilib is default in 2005.0.
Back to top
View user's profile Send private message
LordArthas
Guru
Guru


Joined: 01 Nov 2004
Posts: 500
Location: Maniago, Friûl, Italia

PostPosted: Tue Feb 22, 2005 7:44 am    Post subject: Reply with quote

Hi!

smasher wrote:
Glibc is now compiling... My guess is emul-linux-x86-glibc-1000 is basically a filler now that multilib is default in 2005.0.


Yep, that's it, it's what I call a fake package. ;-)

Michele.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 31, 2005 8:19 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-293507.html

Moved from Gentoo on AMD64.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum