https://sourceware.org/bugzilla/show_bug.cgi?id=24326
Bug ID: 24326 Summary: `nm` outputs symbol values of 0 for ft LTO object files Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: brandon.m.simmons at gmail dot com Target Milestone: --- If I compile a file `tmp.c`, that looks like: char constantFOO[0x12]; char constantBAR[0x34]; with `gcc -c tmp.c -o tmp.o && nm tmp.o`, nm outputs: 0000000000000034 C constantBAR 0000000000000012 C constantFOO But adding `-flto -ffat-lto-objects` to gcc flags, `nm` outputs: 00000000 C constantBAR 00000000 C constantFOO It was suggested this was a bug, here: https://stackoverflow.com/a/55127171/176841 -- 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