Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191438 - sys-devel/gcc - gdc: phobos only gets build as non-PIC
Summary: sys-devel/gcc - gdc: phobos only gets build as non-PIC
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 20:57 UTC by Mario Kicherer
Modified: 2007-09-05 22:14 UTC (History)
0 users

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 Mario Kicherer 2007-09-05 20:57:45 UTC
Hi,

I use gcc with the "D" useflag. After switching from a x86 to an amd64 pc (intel core2duo) i recognized the problem that i can't load shared libraries that are linked against phobos. After some research i saw that phobos gets build as a static library and somebody told me that loading static libraries in  shared libraries is only possible on x86 and not on amd64. 

I've tried to patch gdc by myself (and recompiled gcc several times the last days...) but i didn't get it. :/

So I would be very happy if someone would so kind as to write a patch.

Thank you very much!



Reproducible: Always
Comment 1 SpanKY gentoo-dev 2007-09-05 22:14:47 UTC
first, modify the gcc-4.1.2 ebuild so it reads:
D_VER=0.24

then rebuild gcc-4.1.2

if it still doesnt work, open a bug report here:
http://sourceforge.net/tracker/?group_id=154306&atid=791252