Bug 68109 - x11-toolkits/plib: unbreak TORCS on amd64.
Summary: x11-toolkits/plib: unbreak TORCS 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: Dag-Erling Smørgrav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 13:20 UTC by Thierry Thomas
Modified: 2004-06-22 10:09 UTC (History)
0 users

See Also:


Attachments
plib.diff (485 bytes, patch)
2004-06-19 13:20 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2004-06-19 13:20:23 UTC
	games/torcs is marked broken on amd64 because it fails with the
	following error:

	c++ -shared -o simuv2.so simu.o simuitf.o car.o aero.o engine.o axle.o steer.o susp.o brake.o wheel.o transmission.o differential.o collide.o categories.o -L/tmp/a/ports/games/torcs/work/torcs-1.2.2/export/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib   -lplibsg -lplibul -L/tmp/a/ports/games/torcs/work/torcs-1.2.2/export/lib -lsolid
	/usr/bin/ld: /usr/X11R6/lib/libplibsg.a(sg.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
	/usr/X11R6/lib/libplibsg.a: could not read symbols: Bad value
	gmake[4]: *** [simuv2.so] Error 1

	Even if the plib libraries are built statically, TORCS use them to build
	dynamic libraries, and it must be compiled with -fPIC.

Fix: Please apply the following patch (or anything similar):
How-To-Repeat: 	See logs on bento / pointyhat:
	<http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.5.2004061001/torcs-1.2.2_1.log>
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2004-06-19 13:24:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->des


Over to the maintainer. 

Please back Responsible: to me.
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2004-06-22 10:09:47 UTC
State Changed
From-To: open->closed

Fixed, thanks.