Bug 5882

Summary: libxf86config.a needs to use -fPIC on x86-64
Product: xorg Reporter: Mike A. Harris <mharris>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: high    
Version: 7.0.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181292
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 5387    

Description Mike A. Harris 2006-02-14 08:58:17 UTC
x86_64-redhat-linux-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall
-I../include -I/usr/include/python2.4 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -o ixf86configmodule.so -shared
-Wl,--export-dynamic pyxf86conf.o xf86config_ext.o  -lgmodule-2.0 -ldl
-lgobject-2.0 -lglib-2.0 -L/usr/lib64 -lxf86config
/usr/bin/ld: /usr/lib64/libxf86config.a(Files.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libxf86config.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [ixf86configmodule.so] Error 1
make[1]: Leaving directory `/usr/src/build/705786-x86_64/BUILD/pyxf86config-0.3.23'
make: *** [all] Error 2

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181292
Comment 1 Adam Jackson 2006-03-17 07:31:55 UTC
This is only a problem for people who use pyxf86config, which I think is just
redhat.
Comment 2 Mike A. Harris 2006-08-31 07:31:01 UTC
Bug is uninteresting...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.