Re: [RFC PATCH] driver: unfilter default library path [PR 104707]

2023-04-06 Thread Michael Matz via Gcc
Hello, On Thu, 6 Apr 2023, Shiqi Zhang wrote: > Currently, gcc delibrately filters out default library paths "/lib/" and > "/usr/lib/", causing some linkers like mold fails to find libraries. If linkers claim to be a compatible replacement for other linkers then they certainly should behave in

[RFC PATCH] driver: unfilter default library path [PR 104707]

2023-04-05 Thread Shiqi Zhang
Currently, gcc delibrately filters out default library paths "/lib/" and "/usr/lib/", causing some linkers like mold fails to find libraries. This behavior was introduced at least 31 years ago in the initial revision of the git repo, personally I think it's obsolete because: 1. The less than 20