[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HELP WANTED: doogiebug strikes latest XFree86 packages



There appears to be a problem with my build environment; objects aren't being
linked correctly at build time.

Here is a minimalistic case:

+ gcc -o ./libPEX5.so.6.0~ -shared -Wl,-soname,libPEX5.so.6 pl_convert.o pl_escape.o pl_font.o pl_free.o pl_lut.o pl_nameset.o pl_oc_attr.o pl_oc_dec.o pl_oc_enc.o pl_oc_prim.o pl_oc_str.o pl_oc_util.o pl_pc.o pl_pick.o pl_rdr.o pl_sc.o pl_startup.o pl_struct.o pl_util.o pl_wks.o -L../../exports/lib -lX11 -lm -lc

branden@zuul-chroot:~/xfree86/3.x/xfree86v3-3.3.6/build-tree/xc-libc5/lib/PEX5$ ldd ./libPEX5.so.6.0
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2aae9000)
        libm.so.5 => /lib/libm.so.5 (0x2abc4000)
        libc.so.5 => /lib/libc.so.5 (0x2abce000)
        libc.so.6 => /lib/libc.so.6 (0x2ac8d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)

Somehow, the -lX11 getting hauled in must be from the /usr/X11R6/lib/libX11.so
installed on the system, which, of course, is the libc6 version.

branden@zuul-chroot:~/xfree86/3.x/xfree86v3-3.3.6/build-tree/xc-libc5/lib/PEX5$ dpkg -l altgcc libc5-altdev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                          Version                                       Description
+++-=============================================-=============================================-==========================================================================================================
ii  altgcc                                        2.7.2.3-1.2                                   Alternate gcc package for the libc5 environment.
ii  libc5-altdev                                  5.4.46-5                                      The Linux C library version 5 (alternative dev files).

As far as I can tell, this should be affecting everyone who builds libc5 compatibility packages.

Does anyone have any data points?  Is the libc5 linker broken?

-- 
G. Branden Robinson             |
Debian GNU/Linux                |                It tastes good.
branden@debian.org              |                -- Bill Clinton
http://www.debian.org/~branden/ |

Attachment: pgppwUKyk1tSa.pgp
Description: PGP signature


Reply to: