https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Stubbs from comment #9)
> > Does the llvm as or ld emit blank lines even when not emitting any useful
> > diagnostics, or only if it emits some errors/warnings?
> 
> Only when it emits diagnostics. For example:
> 
> .../amdgcn-unknown-amdhsa/bin/ld: error: undefined symbol: open
> >>> referenced by openr.c:50 (.../newlib/libc/reent/openr.c:50)
> >>>               lib_a-openr.o:(_open_r) in archive 
> >>> .../amdgcn-unknown-amdhsa/lib/libc.a
> 
> .../amdgcn-unknown-amdhsa/bin/ld: error: undefined symbol: open
> >>> referenced by openr.c:50 (.../newlib/libc/reent/openr.c:50)
> >>>               lib_a-openr.o:(_open_r) in archive 
> >>> .../amdgcn-unknown-amdhsa/lib/libc.a
> 
> .../amdgcn-unknown-amdhsa/bin/ld: error: undefined symbol: kill
> >>> referenced by signalr.c:53 (.../newlib/libc/reent/signalr.c:53)
> >>>               lib_a-signalr.o:(_kill_r) in archive 
> >>> .../amdgcn-unknown-amdhsa/lib/libc.a
> 
> .../amdgcn-unknown-amdhsa/bin/ld: error: undefined symbol: kill
> >>> referenced by signalr.c:53 (.../newlib/libc/reent/signalr.c:53)
> >>>               lib_a-signalr.o:(_kill_r) in archive 
> >>> .../amdgcn-unknown-amdhsa/lib/libc.a

But then it should affect only testcases that FAIL already for other reasons.
And when the issue is fixed, these extra errors would go away too.

Reply via email to