* Info about libatomic not automatically linked with C11 code
@ 2024-02-06 18:37 Vincenzo Palazzo
0 siblings, 0 replies; only message in thread
From: Vincenzo Palazzo @ 2024-02-06 18:37 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 864 bytes --]
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-06 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06 18:37 Info about libatomic not automatically linked with C11 code Vincenzo Palazzo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).