On 9/16/22 07:52, Jason Merrill wrote: > On 6/24/22 01:23, Alexandre Oliva via Gcc-patches wrote: >> On Jun 23, 2022, Alexandre Oliva wrote: >> >>> Here's the patch.  Regstrapped on x86_64-linux-gnu, also tested with a >>> cross to aarch64-rtems6.  Ok to install? >> >>> Introduce -nostdlib++ option >> >> Uhh, I went ahead and installed this.  The earlier patch was approved if >> nobody objected, and so, having overcome the objection to the option >> spelling, it ended up in my "approved" patchset. >> >> In case there are objections to it, please let me know, and I'll revert >> it promptly, but I guess it makes little sense to revert it on the odd >> change that someone does.  Thanks for your understanding. > > I'm getting failures from pure-virtual1.C with > > xg++: error: unrecognized command-line option '-nostdlib++' > > I guess that's because it isn't handled by the specs in the way nostdlib > and nodefautlibs are.  Maybe the solution is to set SKIPOPT in the driver? > > Are you not seeing this problem? I started seeing this again and decided to track it down more. It seems to be dependent on specs, as explained in this commit message: