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

Re: /usr/bin/ld: cannot find -lgcc_s: No such file or directory



Hi Mathieu,

Mathieu Malaterre, on 2023-02-24:
> Could someone please confirm the following symptoms on their side:
> 
> % /usr/lib/gcc-snapshot/bin/gcc /tmp/bla.c
> /usr/bin/ld: cannot find -lgcc_s: No such file or directory
> collect2: error: ld returned 1 exit status

I confirm in qemu-binfmt context; also there is the following
workaround which seems to be helpful if you're in a hurry:

	$ LIBRARY_PATH=/usr/lib/gcc-snapshot/lib /usr/lib/gcc-snapshot/bin/gcc /tmp/bla.c

Have a nice day,  :)
-- 
Étienne Mollier <emollier@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/tty1, please excuse my verbosity.

Attachment: signature.asc
Description: PGP signature


Reply to: