Info about libatomic not automatically linked with C11 code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was looking to contribute to GCC, and I think the best way to contribute
to it
is to patch some problems that I have on my codebase.

The error that I am debugging is the following one

tmp.c:(.text+0x68): undefined reference to `__atomic_load'
/bin/ld: tmp.c:(.text+0xfa): undefined reference to
`__atomic_compare_exchange'
/bin/ld: tmp.c:(.text+0x13e): undefined reference to
`__atomic_feraiseexcept'
/bin/ld: tmp.c:(.text+0x172): undefined reference to `__atomic_load'
/bin/ld: tmp.c:(.text+0x198): undefined reference to `__atomic_load'
collect2: error: ld returned 1 exit status

I also found an older report [1] and I was looking to discuss it with
someone that
can you help me find a way to patch this currently I have no idea why this
is happening
at the compiler level.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358

Thanks,

   Vincent.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux