[RTEMS Project] #3081: gcc 7.1 fails to build in TrueOS (aka FreeBSD 12-CURRENT #66 git ac2f0aa3b)

RTEMS trac trac at rtems.org
Fri Jul 21 15:34:17 UTC 2017


#3081: gcc 7.1 fails to build in TrueOS (aka FreeBSD 12-CURRENT #66 git ac2f0aa3b)
---------------------------+----------------------------------------
 Reporter:  Russell Haley  |      Owner:  joel.sherrill@…
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  Indefinite
Component:  GCC            |    Version:  4.12
 Severity:  blocker        |   Keywords:  gcc source builder freebsd
---------------------------+----------------------------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/3081>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list