[MacPorts] #67086: GCC is unable to find libasan
MacPorts
noreply at macports.org
Fri Mar 10 20:08:46 UTC 2023
#67086: GCC is unable to find libasan
---------------------+--------------------
Reporter: jabra11 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: libasan | Port: gcc12
---------------------+--------------------
When trying to pass the {{{-fsanitize=address}}} flag, gcc fails to
compile (fails to link actually) with the error
{{{
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
}}}
It isn't packaged within {{{libgcc}}} either.
--
Ticket URL: <https://trac.macports.org/ticket/67086>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list