#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 Jul 21, 2017 at 3:35:33 PM.
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 Jul 21, 2017 at 3:37:11 PM.
rsb report from failed build of gcc 7.1 on FreeBSD 12-CURRENT

Download all attachments as: .zip

Change History (4)

Changed on Jul 21, 2017 at 3:35:33 PM by Russell Haley

Attachment: options.h added

options.h file from FAILED build

Changed on Jul 21, 2017 at 3:37:11 PM by Russell Haley

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

comment:1 Changed on Jul 23, 2017 at 9:24:58 PM 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 Jul 23, 2017 at 9:25:29 PM by Russell Haley (previous) (diff)

comment:2 Changed on Oct 10, 2017 at 5:58:26 AM by Sebastian Huber

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