https://sourceware.org/bugzilla/show_bug.cgi?id=24290
Bug ID: 24290 Summary: gold causes "undefined reference to __cpu_model" Product: binutils Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: alex_y_xu at yahoo dot ca CC: ian at airs dot com Target Milestone: --- gcc -fuse-ld=gold -flto -x c - <<< 'int main() { return __builtin_cpu_supports("avx2"); }' expected results: a.out is produced actual results: <artificial>:function main: error: undefined reference to '__cpu_model' -- 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