← Back to team overview

touch-packages team mailing list archive

[Bug 498631] Re: ld segfaults with --gc-sections on powerpc

 

works for me in 14.10

** Changed in: binutils (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/498631

Title:
  ld segfaults with --gc-sections on powerpc

Status in “binutils” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: binutils

  qt4-x11 FTBFS on powerpc due to a segfault in ld resulting from the
  use of --gc-sections:

  http://launchpadlibrarian.net/36909898/buildlog_ubuntu-lucid-
  powerpc.qt4-x11_4%3A4.6.0-1ubuntu3_FAILEDTOBUILD.txt.gz

  Still working on reducing the test case, but here's a minimal ld
  command line that reproduces the problem:

  $ gdb ld
  (gdb) run --gc-sections -shared -o libQtWebKit.so.4.6.0 obj/release/pcre_compile.o obj/release/pcre_ucp_searchfuncs.o
  Starting program: /usr/bin/ld --gc-sections -shared -o libQtWebKit.so.4.6.0 obj/release/pcre_compile.o obj/release/pcre_ucp_searchfuncs.o

  Program received signal SIGSEGV, Segmentation fault.
  0x0ff20360 in ?? () from /usr/lib/libbfd-2.20.so
  (gdb) bt
  #0  0x0ff20360 in ?? () from /usr/lib/libbfd-2.20.so
  #1  0x0ff201d8 in ?? () from /usr/lib/libbfd-2.20.so
  #2  0x0ff50464 in bfd_elf_gc_sections () from /usr/lib/libbfd-2.20.so
  #3  0x100167f8 in ?? ()
  #4  0x1001bd64 in ?? ()
  #5  0x0fd0959c in generic_start_main (main=<value optimized out>, 
      argc=<value optimized out>, ubp_av=<value optimized out>, 
      auxvec=<value optimized out>, init=<value optimized out>, 
      fini=<value optimized out>, rtld_fini=<value optimized out>, 
      stack_end=<value optimized out>) at ../csu/libc-start.c:220
  #6  0x0fd09760 in __libc_start_main (argc=<value optimized out>, 
      ubp_av=<value optimized out>, ubp_ev=<value optimized out>, 
      auxvec=<value optimized out>, rtld_fini=<value optimized out>, 
      stinfo=<value optimized out>, stack_on_entry=<value optimized out>)
      at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:105
  #7  0x00000000 in ?? ()
  (gdb)

  ProblemType: Bug
  Architecture: amd64
  Date: Sat Dec 19 14:20:15 2009
  DistroRelease: Ubuntu 10.04
  Package: binutils 2.20-4ubuntu3
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-8.12-generic
  SourcePackage: binutils
  Tags: lucid
  Uname: Linux 2.6.32-8-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/498631/+subscriptions