[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 20:05 --- Thanks, I can confirm that your patch fixes the segfault. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are wat

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 19:50 --- A patch is posted at http://sourceware.org/ml/binutils/2008-07/msg00214.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the C

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 19:43 --- Perhaps since I have a 32bit userspace (I verbatim copied Host/Build from the configure output, but although I have a 64bit kernel it's a 32bit userspace)? After compiling with "-O0 -g" it becomes clear the problem i

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 19:03 --- I can't reproduce it on Fedora 9/x86-64 [EMAIL PROTECTED] ld]$ ./ld-new -EL -r /tmp/tmp_main.o -T /tmp/tmp_main.ver -V GNU ld (Linux/GNU Binutils) 2.18.50.0.8.20080709 Supported emulations: armelf_linu

[Bug ld/6446] Handling of EF_FRV_PIC

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 18:52 --- (In reply to comment #1) > Created an attachment (id=2748) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2748&action=view) > Set EF_FRV_PIC by default (for FDPIC).Clear it if any inter-segme

[Bug ld/6747] regression: ld adds -fpic private flag

2008-07-15 Thread hjl dot tools at gmail dot com
-- What|Removed |Added CC||nickc at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this ma

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread hjl dot tools at gmail dot com
-- What|Removed |Added CC||hjl dot tools at gmail dot ||com http://sourceware.org/bugzilla

[Bug ld/6747] regression: ld adds -fpic private flag

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 18:35 --- This is caused by http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html specifically the proposed patch for http://www.sourceware.org/bugzilla/show_bug.cgi?id=6446 -- What|Removed

[Bug ld/6446] Handling of EF_FRV_PIC

2008-07-15 Thread hjl dot tools at gmail dot com
-- What|Removed |Added OtherBugsDependingO||6747 nThis|| http://sourceware.org/bugzilla/show_bug.cgi?id=6446 --

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 18:28 --- Created an attachment (id=2832) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2832&action=view) .tmp_main.ver -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail b

[Bug ld/6748] regression: arm ld segfaults

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 18:27 --- Created an attachment (id=2831) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2831&action=view) .tmp_main.o -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail bec

[Bug ld/6748] New: regression: arm ld segfaults

2008-07-15 Thread bunk at stusta dot de
Working: 2.18.50.0.7 Broken: 2.18.50.0.8 Several arm configurations of the Linux kernel fail to build due to an ld segfault: $ arm-linux-ld -EL -r -o init/main.o init/.tmp_main.o -T init/.tmp_main.ver Segmentation fault $ Backtrace: #0 0x0808c8b4 in elf32_arm_output_arch_local_syms () #1

[Bug ld/4424] Can't link in Linux object files on FreeBSD

2008-07-15 Thread hjl dot tools at gmail dot com
-- What|Removed |Added Version|2.18|2.19 (HEAD) http://sourceware.org/bugzilla/show_bug.cgi?id=4424 --- You are receiving this mail because:

[Bug ld/4424] Can't link in Linux object files on FreeBSD

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 17:34 --- A new patch is posted at http://sourceware.org/ml/binutils/2008-07/msg00207.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=4424 --- You are receiving this mail because: --- You are on t

[Bug ld/4424] Can't link in Linux object files on FreeBSD

2008-07-15 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-15 17:22 --- We missed a case of linking Linux .o against FreeBSD .so: [EMAIL PROTECTED] weak-11]$ cat foo.c extern void () __attribute__((weak)); void _start(void) { if (& != 0) (); } [EMAIL PROTEC

[Bug ld/6747] regression: ld adds -fpic private flag

2008-07-15 Thread hjl dot tools at gmail dot com
-- What|Removed |Added CC||hjl dot tools at gmail dot ||com http://sourceware.org/bugzilla

[Bug ld/6747] regression: ld adds -fpic private flag

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 14:17 --- Created an attachment (id=2830) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2830&action=view) do_mounts.o -- http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this mail bec

[Bug ld/6747] regression: ld adds -fpic private flag

2008-07-15 Thread bunk at stusta dot de
--- Additional Comments From bunk at stusta dot de 2008-07-15 14:15 --- Created an attachment (id=2829) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2829&action=view) verbose build log -- http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this ma

[Bug ld/6747] New: regression: ld adds -fpic private flag

2008-07-15 Thread bunk at stusta dot de
Toolchain: - gcc 4.3.1 - binutils 2.18.50.0.7 and 2.18.50.0.8 - configured for frv-linux Linux kernel 2.6.26 builds fine when using binutils 2.18.50.0.7, but fails as follows with binutils 2.18.50.0.8: <-- snip --> ... HOSTCC scripts/kallsyms CC init/main.o CHK include/linux/co