Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85110 - Remerging glibc after 2005.0 switch fails (cannot compute sizeof long double)
Summary: Remerging glibc after 2005.0 switch fails (cannot compute sizeof long double)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-13 10:02 UTC by Sander Sweers
Modified: 2005-04-25 02:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Config.log in from build-x86-x86_64-pc-linux-gnu-linuxthreads (config.log,41.12 KB, text/plain)
2005-03-13 23:07 UTC, Sander Sweers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2005-03-13 10:02:52 UTC
After following the guide at http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml remerging glibc fails.

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.20050125 failed.
!!! Function glibc_do_configure, Line 782, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2005-03-13 19:38:17 UTC
carlo: glibc/gcc/binutils/etc are toolchain, not base system
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2005-03-13 19:46:43 UTC
please paste me the config.log to this bug report.
i would like to see if i can learn more about the error with the compute sizeof (long double), 77

TIA,

Alex
Comment 3 Sander Sweers 2005-03-13 23:07:06 UTC
Created attachment 53389 [details]
Config.log in from build-x86-x86_64-pc-linux-gnu-linuxthreads
Comment 4 Sander Sweers 2005-03-14 14:24:36 UTC
Could it be related to the issue mentioned in this thread on the forum. http://forums.gentoo.org/viewtopic-t-303377.html

The post made by teilo:
The best solution, and the one which I implemented, is to create a file in /etc/env.d, say named 05emullinux, with the following line:

Code:
LDPATH="/emul/linux/x86/lib:/emul/linux/x86/usr/lib"


This will include the /emul/linux/x86 directories in your LDPATH, and thus remove any need for symlinking into /lib32 or /usr/lib32.

I went back to 2004.3 but upgrade tonight to 2005.0 and see if this helps.
Comment 5 Sander Sweers 2005-03-14 14:30:09 UTC
Sorry to spam, i just noticed the file 75emul-linux-x86-base so it is not realted or is it?
Comment 6 Panard 2005-03-28 14:36:42 UTC
I had exactly the same bug, here is how I workarounded it :

re-switch to 2004.3 profile
$ emerge =app-emulation/emul-linux-x86-glibc-2.3.4.20041102
it will complain about a non-symlinked /usr/lib32
$ rm /usr/lib32; mkdir /usr/lib32
$ cp /emul/linux/x86/lib32/libsandbox.so /lib32
$ cp /emul/linux/x86/usr/lib32/libc.so /usr/lib32
$ cp /emul/linux/x86/usr/lib32/libpthread.so /usr/lib32
$ cp /emul/linux/x86/usr/lib32/*crt*.o /usr/lib32
$ env-update

re-switch to 2005.0 profile, and remerge glibc. It is working! (at least for me;)

I think that the problem was I removed too early emul-linux-x86-glibc..
Comment 7 Sander Sweers 2005-03-30 14:33:17 UTC
if you need me to do testing / give info please let me know as i am planning to reformat this partition/instalation and install some other distro for testing.
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-04-25 02:19:32 UTC
the solution provided in comment 6 is exactly what our 2005.0 Upgrade guide recommends. no further testing is needed