#3081 new defect

gcc 7.1 fails to build in TrueOS (aka FreeBSD 12-CURRENT #66 git ac2f0aa3b)

Reported by: Russell Haley Owned by: joel.sherrill@…
Priority: normal Milestone: Indefinite
Component: tool/gcc Version: 5
Severity: blocker Keywords: gcc source builder freebsd
Cc: Blocked By:
Blocking:

Description

The RTEMS source build fails when run on FBSD 12-CURRENT as of July 17. I cannot seem to provide more resolution in the build number as this is rolling release TrueOS (I'll work on that).

gcc 7.1 fails to build when running 12-CURRENT kernel and userland. The issue is in the file options.h (I THINK the file is ./rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/build/gcc/options.h). An example of the issue is (full report attached):

./options.h:5541:3: error: redefinition of enumerator 'OPT_d'

OPT_d = 123, /* -d */

./options.h:5539:3: note: previous definition is here

OPT_d = 121, /* -d */

When run in a jail of 11.0-RELEASE on 12-CURRENT host, the build still thinks it's in 12 (pulls info from kernel) but builds SUCCESSFULLY.

Attachments (2)

options.h (243.4 KB) - added by Russell Haley on 07/21/17 at 15:35:33.
options.h file from FAILED build
rsb-report-sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1.txt (13.2 KB) - added by Russell Haley on 07/21/17 at 15:37:11.
rsb report from failed build of gcc 7.1 on FreeBSD 12-CURRENT

Download all attachments as: .zip

Change History (4)

Changed on 07/21/17 at 15:35:33 by Russell Haley

Attachment: options.h added

options.h file from FAILED build

Changed on 07/21/17 at 15:37:11 by Russell Haley

rsb report from failed build of gcc 7.1 on FreeBSD 12-CURRENT

comment:1 Changed on 07/23/17 at 21:24:58 by Russell Haley

I thought I had added this comment already, but I don't see it. There was some resolution to this issue on the FreeBSD forum:

https://forums.freebsd.org/threads/54172/

I tried
setenv LC_COLLATE C
...

and tried
sudo env LC_COLLATE="C" ...

both with the same failed result as building without attempting to set this.

Not sure where to go with this issue. It seems to have "suddenly appeared" in my 11-release jail that I had *thought* previously worked.

Last edited on 07/23/17 at 21:25:29 by Russell Haley (previous) (diff)

comment:2 Changed on 10/10/17 at 05:58:26 by Sebastian Huber

Component: GCCtool/gcc
Note: See TracTickets for help on using tickets.