Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43334 - golem-0.0.5-r1 cannot emerge on amd64 system
Summary: golem-0.0.5-r1 cannot emerge on amd64 system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 17:50 UTC by ikezoe
Modified: 2004-02-29 20:46 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 ikezoe 2004-02-29 17:50:58 UTC
golem-0.0.5-r1.ebuild fails to emerge on amd64 system.
There are many errors like this,

parseparams.c: In function `parseparams':
parseparams.c:169: warning: deprecated use of label at end of compound statement
gcc simple_menus.o menu.o parseparams.o -o simple_menus.so -shared
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld
: simple_menus.o: relocation R_X86_64_32 can not be used when making a shared obj
ect; recompile with -fPIC


The following patch fixes this error.

--- /usr/portage/x11-wm/golem/golem-0.0.5-r1.ebuild     2004-02-29 10:51:53.000000000 +0900
+++ golem-0.0.5-r1.ebuild       2004-03-01 19:36:35.388446920 +0900
@@ -18,6 +18,7 @@ DEPEND="virtual/glibc
 S="${WORKDIR}/${P}"
 
 src_compile() {
+       append-flags -fPIC
        econf \
                `use_enable nls i18n` \
                `use_enable esd sound` \


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Huebel (RETIRED) gentoo-dev 2004-02-29 20:46:16 UTC
done. but for future reference, the added line should be:

use amd64 && append-flags -fPIC

So we don't stomp on any other arches...