This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82005] The combination of -g and -flto does not work on darwin
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Aug 2017 11:00:49 +0000
- Subject: [Bug target/82005] The combination of -g and -flto does not work on darwin
- Auto-submitted: auto-generated
- References: <bug-82005-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-28
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
int main () {}
fails with
/var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//ccYcamqT.s:94:8: error:
unsupported relocation with subtraction expression, symbol '_main.c.f8491562'
can not be undefined in a subtraction expression
.quad _main.c.f8491562-Lsection__debug_info+11
^
/var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//ccYcamqT.s:96:8: error:
unsupported relocation with subtraction expression, symbol '_main.c.f8491562'
can not be undefined in a subtraction expression
.quad _main.c.f8491562-Lsection__debug_info+245
^