bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/23046] New: gold crashes while linking armv7hl binaries built


From: bero at lindev dot ch
Subject: [Bug gold/23046] New: gold crashes while linking armv7hl binaries built with clang 6.0
Date: Wed, 11 Apr 2018 07:05:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23046

            Bug ID: 23046
           Summary: gold crashes while linking armv7hl binaries built with
                    clang 6.0
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: bero at lindev dot ch
                CC: ian at airs dot com
  Target Milestone: ---

gold frequently crashes while linking armv7hl binaries built with clang 6.0 --
for example when building alsa-libs:

/usr/bin/ld -z relro -X --hash-style=gnu --build-id --enable-new-dtags
--eh-frame-hdr -m armelf_linux_eabi -shared -o .libs/libasound.so.2.0.0
/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/../../../../lib/crti.o
/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/crtbeginS.o
-L/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0
-L/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/../../../../lib
-L/usr/bin/../lib -L/lib/../lib -L/usr/lib/../lib
-L/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/../../..
-L/usr/bin/../lib -L/lib -L/usr/lib .libs/conf.o .libs/confmisc.o .libs/input.o
.libs/output.o .libs/async.o .libs/error.o .libs/dlmisc.o .libs/socket.o
.libs/shmarea.o .libs/userfile.o .libs/names.o --whole-archive
control/.libs/libcontrol.a mixer/.libs/libmixer.a pcm/.libs/libpcm.a
timer/.libs/libtimer.a rawmidi/.libs/librawmidi.a hwdep/.libs/libhwdep.a
seq/.libs/libseq.a ucm/.libs/libucm.a topology/.libs/libtopology.a
--no-whole-archive -lm -ldl -lpthread -lrt --version-script=Versions
-Bsymbolic-functions --no-undefined -O2 -soname libasound.so.2 -lgcc
--as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/crtendS.o
/usr/bin/../lib/gcc/armv7hl-mandriva-linux-gnueabihf/7.3.0/../../../../lib/crtn.o

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
0x000d4b60 in (anonymous
namespace)::Target_arm<false>::gc_process_relocs(gold::Symbol_table*,
gold::Layout*, gold::Sized_relobj_file<32, false>*, unsigned int, unsigned int,
unsigned char const*, unsigned int, gold::Output_section*, bool, unsigned int,
unsigned char const*) ()
(gdb) bt
#0  0x000d4b60 in (anonymous
namespace)::Target_arm<false>::gc_process_relocs(gold::Symbol_table*,
gold::Layout*, gold::Sized_relobj_file<32, false>*, unsigned int, unsigned int,
unsigned char const*, unsigned int, gold::Output_section*, bool, unsigned int,
unsigned char const*) ()
#1  0x0030e618 in gold::Sized_relobj_file<32,
false>::do_gc_process_relocs(gold::Symbol_table*, gold::Layout*,
gold::Read_relocs_data*) ()
#2  0x000de4ac in (anonymous
namespace)::Arm_relobj<false>::do_gc_process_relocs(gold::Symbol_table*,
gold::Layout*, gold::Read_relocs_data*) ()
#3  0x0030c6bc in gold::Gc_process_relocs::run(gold::Workqueue*) ()
#4  0x00366b30 in gold::Workqueue::find_and_run_task(int) ()
#5  0x0036738c in gold::Workqueue::process(int) ()
#6  0x00015260 in main ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]