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
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:

random@svaha:/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.
bug-binutils mailing list

Reply via email to