[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21934] gas build fails when using gcc 7
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/21934] gas build fails when using gcc 7 |
Date: |
Sat, 12 Aug 2017 14:34:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21934
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Brett Neumeier from comment #4)
> (In reply to H.J. Lu from comment #3)
> > Here is a small testcase:
> >
> > address@hidden config]$ cat /tmp/p.i
> > static char output_invalid_buf[sizeof (unsigned char) * 2 + 5];
> >
> > char *
> > output_invalid (int c)
> > {
> > __builtin_snprintf (output_invalid_buf, sizeof (output_invalid_buf),
> > "(0x%x)", (unsigned char) c);
> > return output_invalid_buf;
> > }
> > address@hidden config]$ gcc -S -O2 -g -Wall /tmp/p.i -W
> > address@hidden config]$ gcc -S -O2 -g -Wall /tmp/p.i -W -m32
> > address@hidden config]$
> >
> > Please try it with your GCC 7.
>
> OK!
>
> address@hidden:/tmp$ x86_64-cbl-linux-gnu-gcc -S -O2 -g -Wall p.i -W
> address@hidden:/tmp$
>
> That compilation succeeds and produces p.s, which I am attaching.
Why did gas fail to build for you with GCC 7?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/21934] New: gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, nickc at redhat dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/09
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7,
hjl.tools at gmail dot com <=
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/12
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/13
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/15
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/15
- [Bug gas/21934] gas build fails when using gcc 7, bneumeier at gmail dot com, 2017/08/17
- [Bug gas/21934] gas build fails when using gcc 7, hjl.tools at gmail dot com, 2017/08/17