pkgsrc-Bugs archive

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

Re: pkg/39105



The following reply was made to PR pkg/39105; it has been noted by GNATS.

From: Kernigh <xkernigh%netscape.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/39105
Date: Fri, 15 Aug 2008 15:00:14 -0400

 ----------MB_8CACD2048DA9A8D_B28_494A_webmail-dd20.sysops.aol.com
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset="us-ascii"; format=flowed
 
 I encountered this problem when I tried to build meta-pkgs/xfce4. It 
 brought in sysutils/dbus and sysutils/dbus-glib as dependencies, and 
 dbus-glib failed to build, exactly as reported in PR 39105.
 
 My system is also macppc.
 $ uname -a
 NetBSD ghostborough.local 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 
 00:27:58 PST 2007  
 builds@wb30:/home/builds/ab/netbsd-4-0-RELEASE/macppc/200712160005Z-obj/h
 ome/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/macppc/compile/GENERIC 
 macppc
 
 And my compiler is the system gcc.
 $ cc --version
 cc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
 Copyright (C) 2006 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is 
 NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
 PURPOSE.
 $ ld --version
 GNU ld version 2.16.1
 Copyright 2005 Free Software Foundation, Inc.
 This program is free software; you may redistribute it under the terms 
 of
 the GNU General Public License.  This program has absolutely no 
 warranty.
 
 The problem is that the work/dbus-1.2.1/configure script wants to 
 compile and link dbus-daemon with unusual flags. My gcc accepts the 
 flags, but the built dbus-daemon does not work on my system. The 
 problem flags are -fPIE and -Wl,--gc-sections. The workaround is to 
 patch the configure script so that it does not try to use those flags.
 
 I commented the lines for -fPIE and -Wl,--gc-sections in the configure 
 script, then I used mkpatches (from pkgtools/pkgdiff) to generate a new 
 version of patch-ac. I placed patch-ac in 
 /usr/pkgsrc/sysutils/dbus/patches/patch-ac, then did cd 
 /usr/pkgsrc/sysutils/dbus && make makepatchsum. Then I deinstalled dbus 
 and did a clean build of dbus. Now pkgsrc would build dbus-glib and 
 xfce4 without trouble.
 
 Note that my patch-ac disables the use of -fPIE and -Wl,--gc-sections 
 for all platforms, thus it is not a good fix. A good fix might be to 
 disable those flags on NetBSD/powerpc only. A better fix might be to 
 fix the NetBSD cc or ld.elf_so so that those flags actually work.
 
 I have attached patch-ac to this email.
 
 Here follows an explanation of why I disabled -fPIE and 
 -Wl,--gc-sections.
 
 An internet search on the error message, "Unsupported relocation type 6 
 in non-PLT relocations", reveals 
 http://mail-index.netbsd.org/port-powerpc/2005/03/11/msg001888.html 
 which suggests a bad shared library. However, "dbus-daemon" is an 
 executable, not a shared library.
 
 PIE means "position-independent executable". The article 
 http://en.wikipedia.org/wiki/Position_independent_code explains them. I 
 guess that to make a PIE, you compile the executable with -fPIE and 
 link it with -pie, thus this code in the configure script:
 
 -  case " $CFLAGS " in
 -  *[\ \        ]-fPIE[\ \      ]*) ;;
 -  *) if cc_supports_flag -fPIE; then
 -        PIE_CFLAGS="-fPIE"
 -        if ld_supports_flag -z,relro; then
 -           PIE_LDFLAGS="-pie -Wl,-z,relro"
 -        else
 -           PIE_LDFLAGS="-pie"
 -        fi
 -     fi
 -     ;;
 -  esac
 
 However, the /libexec/ld.elf_so on my system cannot load such an 
 executable. Indeed, a simple program demonstrates that I cannot run a 
 PIE exectuable on my system. (My simple program does not use 
 -Wl,-z,-relro because the ld(1) manual page says that -z relro would be 
 "ignored for Solaris compatibility.")
 
 $ cd ~/test
 $ cat test.c
 #include <stdio.h>
 
 int
 main(int argc, char *argv[])
 {
     printf("%s", "Greetings, Earth!\n");
     return 0;
 }
 $ cat Makefile
 all: otest ptest
 
 otest:
     cc -o otest test.c
 
 ptest:
     cc -pie -fPIE -o ptest test.c
 $ make
 cc -o otest test.c
 cc -pie -fPIE -o ptest test.c
 $ ./otest
 Greetings, Earth!
 $ ./ptest
 ./ptest: Unsupported relocation type 6 in non-PLT relocations
 
 The "Unsupported relocation type" message actually comes from 
 /usr/src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c, thus I believe 
 that ld.elf_so has involvement.
 
 So, I commented out the -fPIE and -pie part of the configure script. 
 Thus my next build of dbus_daemon did not use the -fPIE or -pie flags. 
 Unluckily, this only changed the error message from "Unsupported 
 relocation type 6 in non-PLT relocations" to "Bad pAUX_base". My 
 dbus-glib build failed with the "Bad pAUX_base" message. This message 
 comes from /usr/src/libexec/ld.elf_so/rtld.c
 
 Also unluckily, I could not reproduce the "Bad pAUX_base" message in a 
 simple program. But in the 
 /usr/pkgsrc/sysutils/dbus/work/dbus-1.2.1/bus directory, I had three 
 executables. Their names were "dbus-daemon", 
 "dbus-daemon-launch-helper" and "dbus-daemon-launch-helper-test", and 
 all three failed with "Bad pAUX_base" if I executed them.
 
 So I looked for other unusual flags to cc to try to remove. I ignored 
 all those -Wfoo warning flags, but noticed that -fdata-sections, 
 -ffunction-sections and -Wl,--gc-sections seemed unusual. The configure 
 script has
 
 -if ld_supports_flag --gc-sections; then
 -  SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
 -  CFLAGS="-ffunction-sections -fdata-sections $CFLAGS"
 -fi
 
 I read about these flags in the cc(1) and ld(1) manual pages, but I do 
 not know why dbus uses them. I guess that this might be a crude attempt 
 to discard unused functions and data by separating them into sections 
 and deleting the unused sections.
 
 I also noticed that if I did readelf -a on an executable that caused 
 "Bad pAUX_base", that the notes did not appear. Normally, at the end of 
 the readelf -a output, I see notes like so:
 
 $ readelf -a /usr/pkg/bin/xterm
 ...
 No version information found in this file.
 
 Notes at offset 0x0000012c with length 0x00000018:
   Owner     Data size   Description
   NetBSD        0x00000004  NT_VERSION (version)
 
 Notes at offset 0x00000144 with length 0x00000014:
   Owner     Data size   Description
   PaX       0x00000004  Unknown note type: (0x00000003)
 
 However, readelf -a dbus-daemon did not show any notes.
 
 When I commented out the --gc-sections (and -ffunction-sections and 
 -ffdata-sections) part of the configure script, then the dbus-daemon, 
 built without those flags, did not fail. So one of those three flags 
 must have caused the "Bad pAUX_base" message.
 
 The attached patch-ac file comments out both the -fPIE and 
 --gc-sections parts, and it also includes all changes from the original 
 patch-ac in pkgsrc.
 
 ----------MB_8CACD2048DA9A8D_B28_494A_webmail-dd20.sysops.aol.com
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch-ac"
 Content-Type: application/octet-stream; name="patch-ac"
 
 JE5ldEJTRDogcGF0Y2gtYWMsdiAxLjggMjAwOC8wNi8xMyAxMToyODozNSBkcm9jaG5lciBF
 eHAgJAoKLS0tIGNvbmZpZ3VyZS5vcmlnCTIwMDgtMDQtMDQgMTg6MjM6NDQuMDAwMDAwMDAw
 ICswMDAwCisrKyBjb25maWd1cmUKQEAgLTU5OTYsNiArNTk5NiwyMjQgQEAgZXNhYwogCiBu
 ZWVkX2xvY2tzPSIkZW5hYmxlX2xpYnRvb2xfbG9jayIKIAoraWYgdGVzdCAiJHthY19jdl9o
 ZWFkZXJfc3lzX2F0b21pY19oK3NldH0iID0gc2V0OyB0aGVuCisgIHsgZWNobyAiJGFzX21l
 OiRMSU5FTk86IGNoZWNraW5nIGZvciBzeXMvYXRvbWljLmgiID4mNQorZWNobyAkRUNIT19O
 ICJjaGVja2luZyBmb3Igc3lzL2F0b21pYy5oLi4uICRFQ0hPX0MiID4mNjsgfQoraWYgdGVz
 dCAiJHthY19jdl9oZWFkZXJfc3lzX2F0b21pY19oK3NldH0iID0gc2V0OyB0aGVuCisgIGVj
 aG8gJEVDSE9fTiAiKGNhY2hlZCkgJEVDSE9fQyIgPiY2CitmaQoreyBlY2hvICIkYXNfbWU6
 JExJTkVOTzogcmVzdWx0OiAkYWNfY3ZfaGVhZGVyX3N5c19hdG9taWNfaCIgPiY1CitlY2hv
 ICIke0VDSE9fVH0kYWNfY3ZfaGVhZGVyX3N5c19hdG9taWNfaCIgPiY2OyB9CitlbHN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