bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16504] gold: internal error in override_version, at resolv


From: bero at lindev dot ch
Subject: [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto
Date: Sat, 21 Apr 2018 16:37:32 +0000

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

Bernhard Rosenkränzer <bero at lindev dot ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bero at lindev dot ch,
                   |                            |ccoutant at gmail dot com

--- Comment #2 from Bernhard Rosenkränzer <bero at lindev dot ch> ---
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.


reply via email to

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