bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/21934] gas build fails when using gcc 7


From: bneumeier at gmail dot com
Subject: [Bug gas/21934] gas build fails when using gcc 7
Date: Sat, 12 Aug 2017 15:16:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21934

Brett Neumeier <bneumeier at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bneumeier at gmail dot com

--- Comment #7 from Brett Neumeier <bneumeier at gmail dot com> ---
Created attachment 10341
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10341&action=edit
command that produces the issue, with compiler output

> > That compilation succeeds and produces p.s, which I am attaching.
> 
> Why did gas fail to build for you with GCC 7?

OK. I made a mistake earlier when running the minimal test case earlier: I ran
the cross-compiler rather than a native compiler. That works fine. The native
toolchain also works fine when doing a native build. The issue only manifests
when I'm using a native toolchain to build a cross-binutils.

I amended my command to try to reproduce the issue with the minimal test case
to more closely match the command that fails:

address@hidden:/tmp$ armv7l-unknown-linux-gnueabihf-gcc -S -O2 -g -Wall p.i -W
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-Wwrite-strings -MT -MD -MP -Wno-unused-function

but it still succeeds.

So my problem is, I don't know how to tell my gcc that it should do a compile
of the minimal test case *for an arm-to-x86_64 cross-binutils*.

I'm attaching here the precise command that fails, along with the compiler
output that results.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]