Bug 5882 - libxf86config.a needs to use -fPIC on x86-64
Summary: libxf86config.a needs to use -fPIC on x86-64
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: 7.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL: https://bugzilla.redhat.com/bugzilla/...
Depends on:
Blocks: 5387
  Show dependency treegraph
Reported: 2006-02-14 08:58 UTC by Mike A. Harris
Modified: 2006-08-31 07:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


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

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
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.