| View previous topic :: View next topic |
| Author |
Message |
H-Dragon Guru


Joined: 22 Oct 2002 Posts: 547
|
Posted: Sun Jun 13, 2004 11:30 am Post subject: BIG error trying to startX: code duplicate in libbitmap.a |
|
|
when i try to do startx i get an error telling me that there is some __i686_get_thunk_....whatever code is duplicated in two files.... unfortunatelly i can't find the damned piece of code and if i could i wouldn't know how to deactivate it
anyone come across this problem yet`?
it occured after i updated my kernel. furthermore i recently emerged kdebase 3.2.3
but what do these have to do with libbitmap.a ??? _________________ WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup! |
|
| Back to top |
|
 |
peterton Tux's lil' helper


Joined: 20 Aug 2003 Posts: 110
|
Posted: Sun Jun 13, 2004 11:58 am Post subject: |
|
|
| Had the same problem here. I recompiled xorg-x11 without 'hardened' and everything was fine. Well almost, got some segfaults with mkttfdir but at least I'm in X again. |
|
| Back to top |
|
 |
H-Dragon Guru


Joined: 22 Oct 2002 Posts: 547
|
Posted: Mon Jun 14, 2004 11:41 am Post subject: |
|
|
but i never had xorg-x11 to begin with!!!
i reemerged kdebase and xfree without hardened... but no luck!
any other suggestions?
it really bugs me big time that i cant access my kde because of some stupid emerge error...
has noone come over this?
 _________________ WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup! |
|
| Back to top |
|
 |
feadin n00b

Joined: 14 Jun 2004 Posts: 10
|
Posted: Mon Jun 14, 2004 2:46 pm Post subject: |
|
|
Same problem here...
I'm using the latest ~x86 packages and xfree with fluxbox. Yesterday did an | Code: | | emerge sync;emerge world -uv | and this morning when I tryied to startx found it won't start, and exits with that libbitmap.a error...
I tryied using xfree r5 instead of the latest r6 but there's no difference. I guess it may be some gcc-xfree problem. Also tryied using -fno-merge-constants forced into the ebuild but didn't help either... |
|
| Back to top |
|
 |
nejiron Tux's lil' helper


Joined: 27 Apr 2004 Posts: 95 Location: U.S.A.
|
Posted: Mon Jun 14, 2004 4:15 pm Post subject: |
|
|
also make sure you have USE="-pie -pic -hardened" _________________ I am a traveler of both time and space |
|
| Back to top |
|
 |
H-Dragon Guru


Joined: 22 Oct 2002 Posts: 547
|
Posted: Mon Jun 14, 2004 5:27 pm Post subject: |
|
|
does using
| Code: | | USE="-pie -pic -hardened" |
actually do anything good or is this merely a more or less precise guess?
most importantly... where does the damned libbitmap.a come out of?
what do i have to emerge to (re-)get it???? _________________ WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup! |
|
| Back to top |
|
 |
phil_jordan n00b

Joined: 14 Jun 2004 Posts: 3 Location: York, UK
|
Posted: Mon Jun 14, 2004 6:17 pm Post subject: |
|
|
I'm having the exact same problem with libbitmap.a
| H-Dragon wrote: | does using
| Code: | | USE="-pie -pic -hardened" |
actually do anything good or is this merely a more or less precise guess?
|
I'm currently re-emerging gcc, glibc, system, and then xfree with that to find out if it makes a difference. When did that change? Where does it say that we need it?
| Quote: |
most importantly... where does the damned libbitmap.a come out of?
what do i have to emerge to (re-)get it???? |
It's part of xfree. No idea what's wrong with it though. Re-emerging xfree doesn't help on my system. It seems to be loading libbitmap.a twice for some bizarre reason.
~phil |
|
| Back to top |
|
 |
H-Dragon Guru


Joined: 22 Oct 2002 Posts: 547
|
Posted: Mon Jun 14, 2004 9:16 pm Post subject: |
|
|
SOLVED !!!!!!!!!!!!!!!!
i reemerged gcc without "hardened"
reemerged xfree
and
voila!
works! _________________ WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup! |
|
| Back to top |
|
 |
feadin n00b

Joined: 14 Jun 2004 Posts: 10
|
Posted: Mon Jun 14, 2004 10:11 pm Post subject: |
|
|
| I didn't solve it yet. I do not use hardened in any package... right now I'm recompiling for the 5th time, this time using minimal CFLAGS... |
|
| Back to top |
|
 |
feadin n00b

Joined: 14 Jun 2004 Posts: 10
|
Posted: Mon Jun 14, 2004 11:30 pm Post subject: |
|
|
Solved for me too.
It seems that the problem was the -fstack-protector flag... |
|
| Back to top |
|
 |
phil_jordan n00b

Joined: 14 Jun 2004 Posts: 3 Location: York, UK
|
Posted: Tue Jun 15, 2004 9:34 am Post subject: |
|
|
USE="-pic -pie -hardened"
did it for me!
~phil |
|
| Back to top |
|
 |
crash test monkey n00b

Joined: 16 Jun 2004 Posts: 4
|
Posted: Wed Jun 16, 2004 9:11 pm Post subject: |
|
|
pic Build Position Independent Code. Needed for prelink or the hardened toolchain
pie Enable support for Position Independent Executables
Does this mean you can't emerge/use prelink for now?
Do you only need those USE settings on xorg emerge, or with gcc too? |
|
| Back to top |
|
 |
sp1 n00b

Joined: 17 Jun 2004 Posts: 2
|
Posted: Thu Jun 17, 2004 6:05 pm Post subject: |
|
|
| Having same problem, tried rebuilding XFree with -hardened -pie -pic, no change. So I'm trying to redo GCC with those settings, but I get an emerge block from hardened-gcc that prevents me from emerging plain gcc. Can't even emerge the previous version of hardened-gcc to revert back to that. What's the trick here? At this point I've lost a full work days and just want any way to get back to a working X. I'll sort out the mess later.. |
|
| Back to top |
|
 |
sp1 n00b

Joined: 17 Jun 2004 Posts: 2
|
Posted: Fri Jun 18, 2004 2:59 am Post subject: Solved |
|
|
| Probably a very very suboptimal solution, but it got me working again - unmerge gcc and hardened-gcc, download gcc bin from http://dev.gentoo.org/~avenj/bins/ and untar, remove hardened use flag from make.conf, emerge gcc glibc xfree Luckily I was able to get plenty of work done, by using a coworker's RedHat machine while I recompiled my stuff 10 times. |
|
| Back to top |
|
 |
kostja Apprentice


Joined: 25 May 2004 Posts: 261 Location: D, 69239 Neckarsteinach
|
Posted: Mon Aug 09, 2004 11:38 am Post subject: |
|
|
| crash test monkey wrote: | pic Build Position Independent Code. Needed for prelink or the hardened toolchain
pie Enable support for Position Independent Executables
Does this mean you can't emerge/use prelink for now?
Do you only need those USE settings on xorg emerge, or with gcc too? |
The pie flag is for glibc. Do I need to re emerge glibc too? _________________ Registered Linux User #356484 |
|
| Back to top |
|
 |
Kioshen Tux's lil' helper


Joined: 23 Sep 2003 Posts: 109 Location: Montreal, PQ
|
Posted: Wed Aug 25, 2004 2:52 pm Post subject: |
|
|
Had the same problem with the bitmap lib and reemerging gcc with these additionnal use flags
| Code: | | USE="-pic -pie -hardened" |
and reemerging xfree afterwards did it right !
Just adding another WFM on this one. _________________ -= United we share =-
Adopt an unanswered post today!
Why emerge -U will kill your Gentoo |
|
| Back to top |
|
 |
simon pants n00b


Joined: 30 Apr 2004 Posts: 47
|
Posted: Wed Sep 22, 2004 7:27 pm Post subject: |
|
|
| Code: |
USE="-hardened" emerge gcc
USE="-hardened" emerge xfree
|
Did it for me (too!)
Simon |
|
| Back to top |
|
 |
|