Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BIG error trying to startX: code duplicate in libbitmap.a
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Sun Jun 13, 2004 11:30 am    Post subject: BIG error trying to startX: code duplicate in libbitmap.a Reply with quote

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
View user's profile Send private message
peterton
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 110

PostPosted: Sun Jun 13, 2004 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Mon Jun 14, 2004 11:41 am    Post subject: Reply with quote

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?

:cry:
_________________
WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup!
Back to top
View user's profile Send private message
feadin
n00b
n00b


Joined: 14 Jun 2004
Posts: 10

PostPosted: Mon Jun 14, 2004 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
nejiron
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 95
Location: U.S.A.

PostPosted: Mon Jun 14, 2004 4:15 pm    Post subject: Reply with quote

also make sure you have USE="-pie -pic -hardened"
_________________
I am a traveler of both time and space
Back to top
View user's profile Send private message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Mon Jun 14, 2004 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
phil_jordan
n00b
n00b


Joined: 14 Jun 2004
Posts: 3
Location: York, UK

PostPosted: Mon Jun 14, 2004 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Mon Jun 14, 2004 9:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
feadin
n00b
n00b


Joined: 14 Jun 2004
Posts: 10

PostPosted: Mon Jun 14, 2004 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
feadin
n00b
n00b


Joined: 14 Jun 2004
Posts: 10

PostPosted: Mon Jun 14, 2004 11:30 pm    Post subject: Reply with quote

Solved for me too.
It seems that the problem was the -fstack-protector flag...
Back to top
View user's profile Send private message
phil_jordan
n00b
n00b


Joined: 14 Jun 2004
Posts: 3
Location: York, UK

PostPosted: Tue Jun 15, 2004 9:34 am    Post subject: Reply with quote

USE="-pic -pie -hardened"
did it for me!

~phil
Back to top
View user's profile Send private message
crash test monkey
n00b
n00b


Joined: 16 Jun 2004
Posts: 4

PostPosted: Wed Jun 16, 2004 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
sp1
n00b
n00b


Joined: 17 Jun 2004
Posts: 2

PostPosted: Thu Jun 17, 2004 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
sp1
n00b
n00b


Joined: 17 Jun 2004
Posts: 2

PostPosted: Fri Jun 18, 2004 2:59 am    Post subject: Solved Reply with quote

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
View user's profile Send private message
kostja
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 261
Location: D, 69239 Neckarsteinach

PostPosted: Mon Aug 09, 2004 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Kioshen
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 109
Location: Montreal, PQ

PostPosted: Wed Aug 25, 2004 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
simon pants
n00b
n00b


Joined: 30 Apr 2004
Posts: 47

PostPosted: Wed Sep 22, 2004 7:27 pm    Post subject: Reply with quote

Code:

USE="-hardened" emerge gcc
USE="-hardened" emerge xfree


Did it for me (too!)

Simon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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