[Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto

2018-04-21 Thread bero at lindev dot ch
https://sourceware.org/bugzilla/show_bug.cgi?id=16504

Bernhard Rosenkränzer  changed:

   What|Removed |Added

 CC||bero at lindev dot ch,
   ||ccoutant at gmail dot com

--- Comment #2 from Bernhard Rosenkränzer  ---
Reproduced with gold 2.30 (and with qtwebengine 5.11.0-beta4 as a real world
example of this occurring).

The Makefile in the test case is obviously incomplete and should say something
more like

all: test1

liba.so: liba.c
$(CC) $(LIBCFLAGS) -fPIC -shared -flto -fuse-ld=gold -o $@ $<
-Wl,--version-script=liba.sym -L.

libb.so: libb.c liba.so
$(CC) $(LIBCFLAGS) -fPIC -shared -flto -fuse-ld=gold -o $@ $<
-Wl,--version-script=libb.sym -L. -la

test1: test1.c libb.so
gcc -Wl,-rpath -Wl,. -L. -lb -o $@ $<

clean:
rm -f *.so *.o test1

-- 
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 binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto

2018-04-21 Thread bero at lindev dot ch
https://sourceware.org/bugzilla/show_bug.cgi?id=16504

--- Comment #3 from Bernhard Rosenkränzer  ---
Created attachment 10970
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10970&action=edit
Test case

Attaching test case files as tarball

-- 
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 binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto

2018-04-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16504

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |ccoutant at gmail dot 
com

-- 
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