[Bug gold/21054] [MIPS] Forced local symbol rearranging messes up GOT

2017-01-17 Thread james410 at cowgill dot org.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=21054 James Cowgill changed: What|Removed |Added Attachment #9754|0 |1 is obsolete|

Re: ld: once multiple symbol definitions are allowed, both definitions end up in the executable

2017-01-17 Thread Pavel Shishpor
Thanks a lot for the answer: it put me on the right track. The '-ffunction-sections' option works OK on toy examples though GNU linker crashed when I tried the following on real-life object files compiled with -ffunction-sections and -fdata-sections options enabled: for i in $object_files_original

[Bug binutils/21057] GDB build failure with flex 2.6.3

2017-01-17 Thread simon.marchi at ericsson dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21057 Simon Marchi changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug binutils/21057] GDB build failure with flex 2.6.3

2017-01-17 Thread simon.marchi at ericsson dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21057 --- Comment #1 from Simon Marchi --- Here's the commit in flex at which the gdb build starts failing https://github.com/westes/flex/commit/347652c32b4614995acd4ee0d686499da2070d9e -- You are receiving this mail because: You are on the CC li

[Bug binutils/21057] GDB build failure with flex 2.6.3

2017-01-17 Thread simon.marchi at ericsson dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21057 --- Comment #2 from Simon Marchi --- Here are the differences between the 2.6.2-generated ada-lex.c and the 2.6.3-generated ada-lex.c: --- ada-lex.c.2.6.2 2017-01-17 09:40:59.393641771 -0500 +++ ada-lex.c 2017-01-17 09:49:51.425905663

Re: ld: once multiple symbol definitions are allowed, both definitions end up in the executable

2017-01-17 Thread Jim Wilson
On Tue, Jan 17, 2017 at 6:56 AM, Pavel Shishpor wrote: > Thanks a lot for the answer: it put me on the right track. The > '-ffunction-sections' option works OK on toy examples though GNU linker > crashed when I tried the following on real-life object files compiled with > -ffunction-sections and -

[Bug gold/21054] [MIPS] Forced local symbol rearranging messes up GOT

2017-01-17 Thread pochu27 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21054 Emilio Pozuelo Monfort changed: What|Removed |Added CC||pochu27 at gmail dot com --

[Bug binutils/21059] New: [PATCH] binutils 2.28 branch doesn't compile with flex 2.6.3

2017-01-17 Thread bero at lindev dot ch
https://sourceware.org/bugzilla/show_bug.cgi?id=21059 Bug ID: 21059 Summary: [PATCH] binutils 2.28 branch doesn't compile with flex 2.6.3 Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal

Re: "-flto -O2" shouln't opt out "undefined reference" error

2017-01-17 Thread Jim Wilson
On 01/16/2017 10:32 AM, Xuefer wrote: without -flto or without -O2 produce good (expected) result: configure:5332: checking for dlsym ... It isn't the linker that is the problem here. It is the compiler. But it isn't a compiler bug. An optimizing compiler is

Re: "-flto -O2" shouln't opt out "undefined reference" error

2017-01-17 Thread Xuefer
volatile: i tried already with clang/llvm it worked. i'm using gentoo linux, trying to emerge everything with -flto. i'm not sure if i understand linker/compiler bug or not a bug, i wonder how many script is affected by this issue. On Wed, Jan 18, 2017 at 7:53 AM Jim Wilson wrote: On 01/16/2017