Bug 181292 - pyxf86config cannot rebuild in rawhide
Summary: pyxf86config cannot rebuild in rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL: https://bugs.freedesktop.org/show_bug...
Depends On:
Blocks: FC5Blocker
TreeView+ depends on / blocked
Reported: 2006-02-12 22:21 UTC by Jesse Keating
Modified: 2013-01-10 02:29 UTC (History)
4 users (show)

Fixed In Version: 1.0.1-8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-03-06 20:32:29 UTC
Type: ---

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
FreeDesktop.org 5882 None None None Never

Description Jesse Keating 2006-02-12 22:21:28 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 Ray Strode [halfline] 2006-02-12 22:50:18 UTC
Looks like xorg-x11-server-sdk needs to use -fPIC on x86-64.

Comment 2 Mike A. Harris 2006-02-13 22:04:34 UTC
Indeed.  All .a libs should be -fPIC if there are no shared versions, which
is what happened in previous releases.  In 7.0, all the normal X libs are
shared now, so we don't even ship static ones.  libxf86config is a special
case, as it's part of the X server build rather than coupled with the other
libs.  Looks like this one just got left out in the rain during the mono->modu

Will be fixed in a future build.

Also filed upstream for inclusion in the next xserver/xorg release:


Comment 3 Jeremy Katz 2006-03-06 20:32:29 UTC
Bad hack that's okay enough for our packages committed in -8.  Leaving the
upstream bug open so it can be fixed correctly there

Note You need to log in before you can comment on or make changes to this bug.