|
From: | dave.anglin at bell dot net |
Subject: | [Bug ld/19526] Using "gcc -o /dev/null" gives "ld: final link failed: File truncated" error |
Date: | Sat, 30 Jan 2016 21:10:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19526 --- Comment #9 from dave.anglin at bell dot net --- On 2016-01-30, at 1:14 PM, John David Anglin wrote: > It seems to me we either have to match x86 behaviour, or the linker should > not allow writing > to a non-regular file. Something like to the following can check if the output file is a regular file. Various stat errors could also be reported. I'm not sure how portable this is. Dave -- John David Anglin address@hidden -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |