This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: non-portable construct in gcc configure script
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
>> IIRC we cared about at least Solaris native ld.
>
> ... grep, only grep. The check passes "-shared" directly to ld, which makes
> native ld choke on Solaris 2.5.1, 2.6 and 7. On 8 and 9, it's the assembler.
> See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10663
I was thinking of something else, but good point.
We know GAS accepts section names without quotes on all targets, we
know it *doesn't* accept section names with quotes on some targets,
and we don't know of any other assembler/linker pair that this test
succeeds for. Therefore Kelley's patch must be a net improvement.
Would you mind validating it and checking it in?
zw