[PATCH REVIEW] libtool.m4: fix the NM="/nm/over/here -B/option/with/path" case

Nick Clifton nickc@redhat.com
Thu Mar 24 14:12:34 GMT 2022


Hi Nick,

> This seems to be all combinations, including those used by GCC bootstrap
> (which, before this commit, fails to bootstrap when configured
> --with-build-config=bootstrap-lto, because the lto plugin is now using
> --export-symbols-regex, which requires libtool to find a working nm,
> while also using -B../prev-gcc to point at the lto plugin associated
> with the GCC just built.)
> 
> Regenerate all affected configure scripts.
> 
> 	* libtool.m4 (LT_PATH_NM): Handle user-specified NM with
> 	options, including options containing paths.

Patch approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list