[Bug 193353] New: gcc (gcc47), gcc48, and gcc49 fail to compile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 5 22:45:37 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193353

            Bug ID: 193353
           Summary: gcc (gcc47), gcc48, and gcc49 fail to compile
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: tps at vr-web.de

Created attachment 146890
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146890&action=edit
log of "cd /usr/ports/lang/gcc; make clean build"

Have gcc47, gcc48, gcc49 installed, then upgrade using "portupgrade -af" all
three will fail to compile with errors:

/usr/ports/lang/gcc/work/build/./gcc/include-fixed/stdlib.h:99:1: error:
'_Noreturn' does not name a type
/usr/ports/lang/gcc/work/build/./gcc/include-fixed/stdlib.h:109:1: error:
'_Noreturn' does not name a type
/usr/ports/lang/gcc/work/build/./gcc/include-fixed/stdlib.h:168:1: error:
'_Noreturn' does not name a type
/usr/ports/lang/gcc/work/build/./gcc/include-fixed/stdlib.h:177:1: error:
'_Noreturn' does not name a type
In file included from
/usr/ports/lang/gcc/work/gcc-4.7.4/libstdc++-v3/include/precompiled/stdc++.h:48:0:
/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd11.0/libstdc++-v3/include/cstdlib:105:11:
error: '::abort' has not been declared
/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd11.0/libstdc++-v3/include/cstdlib:114:11:
error: '::exit' has not been declared
gmake[7]: *** [x86_64-portbld-freebsd11.0/bits/stdc++.h.gch/O2ggnu++0x.gch]
Error 1
gmake[7]: Leaving directory
`/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd11.0/libstdc++-v3/include'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory
`/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd11.0/libstdc++-v3'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory
`/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd11.0/libstdc++-v3'
gmake[4]: *** [all-stage1-target-libstdc++-v3] Error 2
gmake[4]: Leaving directory `/usr/ports/lang/gcc/work/build'
gmake[3]: *** [stage1-bubble] Error 2
gmake[3]: Leaving directory `/usr/ports/lang/gcc/work/build'
gmake[2]: *** [bootstrap-lean] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/gcc
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/gcc

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list