Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6767 - glibc-2.2.5-r7 breaks Win4Lin
Summary: glibc-2.2.5-r7 breaks Win4Lin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-20 06:49 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2002-08-20 06:49:44 UTC
When I upgraded gcc to 3.2 I had glibc-2.2.5-r5 installed and win4lin worked OK.

Now after attempting `emerge -u world` I have glibc-2.2.5-r7 *and* 2.2.5-r2.

Starting Win4Lin provokes:
$ win
/opt/win4lin/bin/print_uid: relocation error: /opt/win4lin/bin/print_uid:
undefined symbol: atexit
/opt/win4lin/bin/print_uid: relocation error: /opt/win4lin/bin/print_uid:
undefined symbol: atexit
winconfig: relocation error: winconfig: undefined symbol: atexit
/opt/win4lin/bin/print_uid: relocation error: /opt/win4lin/bin/print_uid:
undefined symbol: atexit
/opt/win4lin/charconv: relocation error: /opt/win4lin/charconv: undefined
symbol: atexit
/opt/win4lin/x_msg: relocation error: /opt/win4lin/x_msg: undefined symbol: atexit

I tried to remerge glibc...
# emerge glibc
Calculating dependencies ...done!
>>> emerge sys-libs/glibc-2.2.5-r7 to /
!!! emerge aborting on  /usr/portage/sys-libs/glibc/glibc-2.2.5-r7.ebuild .
Comment 1 Nicholas Wourms 2002-08-20 07:14:59 UTC
This is the smae error I'm getting with realplayer, perhaps they are related?
Comment 2 Peter Ruskin 2002-08-20 07:19:54 UTC
Yep - realplay does that for me too 
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2002-08-20 19:41:30 UTC
I get the same problem with vmware... 2.2.5-r6 works perfectly
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2002-08-21 12:55:17 UTC
I had the same problem.. I downgraded to -r6 and the problem is fixed..

glibc-2.2.5-sandbox.diff seems to be the problematic patch... Would it be
possible to pull it back?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-22 23:40:51 UTC
Was it a build from scratch, or did you update a 2.95.3 install ?
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2002-08-22 23:49:32 UTC
My system was updated from 3.1.1 and previously 3.1 (originally from a 1.3a iso)

I recompiled glibc after updating to 3.2 (I update by changing the
/etc/make.profile symlink and doing a emerge -u system)...
Comment 7 Peter Ruskin 2002-08-23 06:47:04 UTC
I had a 1.2 system that I upgraded, following Spider's guidelines.
Comment 8 Stephan Wentz 2002-08-23 06:55:15 UTC
same problem here, "undefined symbol: atexit" in the avmailgate virus-scanner, 
since 4 or 5 days.   
i have updated glibc in the last days, i think from 2.2.5-r5 to 2.2.5-r7, i'm   
using gcc-2.95.3-r7.  
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-23 15:19:57 UTC
Hmm, ok.  For the guys with the fast boxes out there, try:

# emerge glibc gcc && emerge glibc

Seems that we are not rid of the atexit bug yet :(

Quake3 and UT works fine here ... any of you guys can test them ?
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2002-08-23 16:25:49 UTC
I can confirm that q3 and UT work correctly, but realplay and vmware break..
with -r7. I'm trying to do an  "emerge glibc gcc && emerge glibc" right now.. I
should have results soon...
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2002-08-23 18:24:22 UTC
tried the "emerge glibc gcc && emerge glibc" trick and I still get the same
problem going back to -r6. The glibc-2.2.5-sandbox.diff patch is definitely
broken.. it should be killed
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-23 19:57:11 UTC
# ld --version

and paste please.
Comment 13 Olivier Crete (RETIRED) gentoo-dev 2002-08-23 20:04:35 UTC
GNU ld version 2.13.90.0.4 20020814
Comment 14 Peter Ruskin 2002-08-23 20:49:29 UTC
$ ld --version
GNU ld version 2.11.92.0.12 20011121
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

But that is now that I have abandoned 1.4 and restored 1.2 from backup.
Comment 15 Jon Nelson (RETIRED) 2002-08-29 22:52:15 UTC
GNU ld version 2.13.90.0.4 20020814


I get the same atexit problem as everybody else.
2.95.3, atexit, etc...
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-08 03:36:29 UTC
This version is masked again.
Comment 17 Peter Ruskin 2002-09-08 07:36:10 UTC
Is it fixed by masking?  or what?  I see no resolution here. 
Comment 18 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-08 09:29:04 UTC
> This version is masked again.

Meaning, -r7 is masked, meaning it will revert to -r6 with a emerge -u world,
or new system.