Opened 14 months ago

#67086 new defect

GCC is unable to find libasan

Reported by: jabra11 (Jörg Barkoczi) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: libasan Cc:
Port: gcc12

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.