Re: [PATCH v4 15/17] kconfig: Add support for 'as-option'

From
Vincenzo Frascino <vincenzo.frascino@arm.com>
Date
2020-01-27 09:33:32
Also in
linux-kbuild
Reply to
Masahiro Yamada, 2020-01-26
Hi Masahiro,

On 26/01/2020 14:45, Masahiro Yamada wrote:
On Thu, Jan 23, 2020 at 7:52 PM Vincenzo Frascino
[off-list ref] wrote:
quoted
[...]
quoted
No /dev/zero because otherwise I get a warning that says that I am trying to
compile an object into the same file.

If I invert /dev/zero and /dev/null this trashes the compilation. It took me a
while to get the right combination.

What compiler produces such a warning?
GCC? Clang?
It is GCC:

$ aarch64-none-linux-gnu-gcc -c -x assembler /dev/null -o /dev/null

Assembler messages:
Fatal error: The input '/dev/null' and output '/dev/null' files are the same


--
Best Regards
Masahiro Yamada
-- 
Regards,
Vincenzo

Attachments

Thread (24 messages) 24 messages, 5 authors, last reply 2020-01-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help