|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/22502] Unable to redefine weak function in LTO incrementally-linked executable |
Date: | Mon, 27 Nov 2017 17:10:10 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22502 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- A simpler way to reproduce: address@hidden pr22502]$ make gcc -g -O2 -c -o test-weak.o test-weak.c gcc -g -O2 -flto -c -o test.o test.c gcc -g -O2 -o y test-weak.o test.o test-weak.o: In function `main': /export/home/hjl/bugs/binutils/pr22502/test-weak.c:8: undefined reference to `foobar' collect2: error: ld returned 1 exit status make: *** [Makefile:16: y] Error 1 address@hidden pr22502]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |