Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2018 22:07:43 -0800
From:      Cameron Berkenpas <cam@neo-zeon.de>
To:        freebsd-ppc@freebsd.org
Subject:   lang/gcc7 fails to build
Message-ID:  <0cb3ec86-b5d9-368d-af69-9d05662483dd@neo-zeon.de>

next in thread | raw e-mail | index | archive | help
Hello,

lang/gcc7 is failing to build for me on POWER (Talos II) on 
12.0-PRERELEASE. Below are the relevant messages.

Is anyone else encountering this? I was able to build it just fine on my 
x86-64 box on 12.0-PRERELEASE.

...
-fno-strict-aliasing -m32 -fPIC -mstrict-align -MT intrinsics.lo -MD -MP 
-MF .deps/intrinsics.Tpo -c 
/usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/intrinsics.c -o 
intrinsics.o >/dev/null 2>&1
         /usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/unix.c: In 
function 'find_file':
/usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/unix.c:1670:26: 
error: 'id' undeclared (first use in this function)
          # define FIND_FILE0_ARGS id, path
                                   ^
/usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/unix.c:1744:30: note: 
in expansion of macro 'FIND_FILE0_ARGS'
            u = find_file0 (unit_root, FIND_FILE0_ARGS);
                                       ^~~~~~~~~~~~~~~
/usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/unix.c:1670:26: note: 
each undeclared identifier is reported only once for each function it 
appears in
          # define FIND_FILE0_ARGS id, path
                                   ^
/usr/ports/lang/gcc7/work/gcc-7.3.0/libgfortran/io/unix.c:1744:30: note: 
in expansion of macro 'FIND_FILE0_ARGS'
            u = find_file0 (unit_root, FIND_FILE0_ARGS);
                                       ^~~~~~~~~~~~~~~
...

gmake[8]: Leaving directory 
'/usr/ports/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/32/libgfortran'
gmake[7]: *** [Makefile:1242: all] Error 2
gmake[7]: Leaving directory 
'/usr/ports/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/32/libgfortran'
gmake[6]: *** [Makefile:5733: multi-do] Error 1
gmake[6]: Leaving directory 
'/usr/ports/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libgfortran'
gmake[5]: *** [Makefile:5311: all-multi] Error 2
gmake[5]: Leaving directory 
'/usr/ports/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libgfortran'
gmake[4]: *** [Makefile:1242: all] Error 2
gmake[4]: Leaving directory 
'/usr/ports/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libgfortran'
gmake[3]: *** [Makefile:18053: all-target-libgfortran] Error 2
gmake[3]: Leaving directory '/usr/ports/lang/gcc7/work/.build'
gmake[2]: *** [Makefile:21932: bootstrap-lean] Error 2
gmake[2]: Leaving directory '/usr/ports/lang/gcc7/work/.build'
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0cb3ec86-b5d9-368d-af69-9d05662483dd>