[Bug 243810] gcc compile error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 2 17:19:03 UTC 2020


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

            Bug ID: 243810
           Summary: gcc compile error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: michael.adm at gmail.com
             Flags: maintainer-feedback?(gerald at FreeBSD.org)
          Assignee: gerald at FreeBSD.org

All version gcc in /usr/ports make in make this error while compile:
. . .
no-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE
-static-libstdc++ -static-libgcc  -no-pie -o build/gengtype \
    build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o
build/gengtype-state.o build/version.o .././libiberty/libiberty.a
/usr/local/bin/ld: build/gengtype-state.o: in function
`state_writer::write_state_a_string(char const*)':
gengtype-state.c:(.text+0x2032): undefined reference to `fputc_unlocked'
collect2: error: ld returned 1 exit status
gmake[6]: *** [Makefile:2865: build/gengtype] Error 1
gmake[6]: *** Waiting for unfinished jobs....
/usr/ports/lang/gcc9/work/gcc-9.2.0/gcc/fortran/gfortran.texi:2769: warning:
@ref node name should not contain `:'
rm gfortran.pod gcc.pod
gmake[6]: Leaving directory '/usr/ports/lang/gcc9/work/.build/gcc'
gmake[5]: *** [Makefile:4704: all-stage2-gcc] Error 2
gmake[5]: Leaving directory '/usr/ports/lang/gcc9/work/.build'
gmake[4]: *** [Makefile:22591: stage2-bubble] Error 2
gmake[4]: Leaving directory '/usr/ports/lang/gcc9/work/.build'
gmake[3]: *** [Makefile:22806: bootstrap-lean] Error 2
gmake[3]: Leaving directory '/usr/ports/lang/gcc9/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[2]: stopped in /usr/ports/lang/gcc9
*** Error code 1

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

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

FreeBSD current GENERIC with buildworld

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


More information about the freebsd-ports-bugs mailing list