[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 --- Comment #1 from dave.anglin at bell dot net --- On 2017-02-11, at 5:49 PM, danglin at gcc dot gnu.org wrote: > This is with "GNU ld (GNU Binutils for Debian) 2.27.90.20170205". 2.27.90.20170124-2 was okay. -- John David Anglin dave.ang...@bell.net -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2 from Alan Modra --- I can't build current glibc. I configure with dest=/home/gnu/hppa-linux libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ libc_cv_ssp=no \ ~/src/glibc-current/configure \ --build=x86_64-linux \ --host=hppa-linux \ --prefix="${dest}"/usr \ --with-headers="${dest}"/usr/include \ --enable-kernel=4.4 \ --without-selinux \ --disable-werror Using headers from a recent kernel, and hppa-linux-gcc (GCC) 7.0.0 20170102, I get hppa-linux-gcc ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/alan/build/cross/hppa-linux/glibc/nptl -I/home/alan/build/cross/hppa-linux/glibc -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/hppa/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/hppa/fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /home/local/bin/../lib/gcc/hppa-linux/7.0.0/include -isystem /home/local/bin/../lib/gcc/hppa-linux/7.0.0/include-fixed -isystem /home/gnu/hppa-linux/usr/include -D_LIBC_REENTRANT -include /home/alan/build/cross/hppa-linux/glibc/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -o /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o -MD -MP -MF /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o.dt -MT /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o In file included from ./pthreadP.h:30:0, from ../sysdeps/unix/sysv/linux/hppa/pthreadP.h:1, from ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:24, from ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:21: ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: In function '__pthread_cond_init': ../sysdeps/unix/sysv/linux/hppa/internaltypes.h:51:14: error: 'struct ' has no member named '__wseq' var->__data.__wseq = 0; \ ^ ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:30:3: note: in expansion of macro 'cond_compat_clear' cond_compat_clear (cond); ^ [snip more errors related to the same struct] See https://sourceware.org/ml/libc-alpha/2016-05/msg00605.html So, I can't easily reproduce this error. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 --- Comment #3 from dave.anglin at bell dot net --- On 2017-02-12, at 7:46 PM, amodra at gmail dot com wrote: > I can't build current glibc. I configure with Attached is my current command. I have been configuring with the following: --host=hppa-linux-gnu --build=hppa-linux-gnu --prefix=/usr --without-cvs --enable-add-ons=libidn --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc --enable-pt_chown --with-headers=/usr/include --enable-kernel=2.6.32 --disable-sanity-checks I think the above is more or less how Debian glibc is built. Haven't checked recently however. Had a successful build and check with previous Debian binutils. -- John David Anglin dave.ang...@bell.net -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 --- Comment #4 from Alan Modra --- With that patch, and deleting sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c, I can at least build glibc. Thanks! However, I can't reproduce the failure with cross-tools. elf/vismain builds fine using the same options you show. What's more, valgrind doesn't show any errors apart from some leaked memory, and setting MALLOC_PERTURB_ doesn't make any difference. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 --- Comment #5 from John David Anglin --- As the error is in the testsuite, this problem is going to be hard to reproduce with a cross. Need all the libs, etc. Helge, would you please set up an account for Alan on phantom? I see that the inequivalent alias problem is present in /usr/bin/ld, so it's possible that pr21000 is the cause of this problem. I'm going to rebuild Debian binutils with Alan's patch. The LOAD headers for ld-new look good. We had following ld testsuite fails on trunk: FAIL: PIE preinit array FAIL: PIE init array FAIL: PIE fini array FAIL: PIE init array mixed FAIL: PIE PR ld/14525 FAIL: Run with libpr18720c.so 1 FAIL: Run with libpr18720c.so 2 FAIL: Run with libpr18720c.so 3 FAIL: Run with libpr18720c.so 4 FAIL: Run with libpr18720c.so 5 FAIL: Run pr2404 with PIE FAIL: Run pr18718 FAIL: Run pr18718 with PIE (1) FAIL: Run pr18718 with PIE (2) FAIL: Run pr18718 with PIC (1) FAIL: Run pr18718 with PIC (2) FAIL: Run pr19579 FAIL: Run pr19719pie fun defined FAIL: Run pr19719pie fun undefined FAIL: weak undefined FAIL: weak undefined data I think we should leave this bug until pr21132 is fixed. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Alan Modra --- I think this bug has been fixed. Native run of ld testsuite on hppa-linux is now clean (well it is if you have a collect2 that heeds -B in COLLECT_GCC_OPTIONS and picks up a newly built ld rather than testing the system ld!), and the glibc elf/vismain fail no longer shows up. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils