This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/82005] The combination of -g and -flto does not work on darwin


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
                ^

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]