Bug 62277 - [PATCH] irc/xchat-systray-plugin: Fix build on amd64
Summary: [PATCH] irc/xchat-systray-plugin: Fix build on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-02 18:40 UTC by Greg Juilfs
Modified: 2004-02-02 22:49 UTC (History)
0 users

See Also:


Attachments
file.diff (439 bytes, patch)
2004-02-02 18:40 UTC, Greg Juilfs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Juilfs 2004-02-02 18:40:12 UTC
cc -O -pipe  -Wall `pkg-config gtk+-2.0 --cflags`   -c -o systray.o systray.c
cc -O -pipe  -Wall `pkg-config gtk+-2.0 --cflags`   -c -o eggtrayicon.o eggtrayicon.c
cc `pkg-config gtk+-2.0 --libs` systray.o eggtrayicon.o -shared -o systray.so
/usr/bin/ld: systray.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
systray.o: could not read symbols: Bad value
gmake: *** [systray.so] Error 1
*** Error code 2

Stop in /usr/ports/irc/xchat-systray-plugin.

How-To-Repeat: Build xchat-systray-plugin without -fPIC on FreeBSD/amd64.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-02 22:49:08 UTC
State Changed
From-To: open->closed

Thanks!