pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC 7.1 build error



coypu%sdf.org@localhost a écrit :
Never mind the previous reply. Try this.
I forgot this part is missing..

	Hello,

I have tried your patch. With these modifications, gcc7 build process crashes in stage1 :

checking for gawk... /usr/bin/awk
checking whether /usr/pkg/bin/gmake sets $(MAKE)... yes
checking for alpha--netbsd-gcc... /usr/pkgsrc/lang/gcc7/work/build/./gcc/xgcc -B/usr/pkgsrc/lang/gcc7/work/build/./gcc/ -B/usr/pkg/gcc7/alpha--netbsd/bin/ -B/usr/pkg/gcc7/alpha--netbsd/lib/ -isystem /usr/pkg/gcc7/alpha--netbsd/include -isystem /usr/pkg/gcc7/alpha--netbsd/sys-include
checking for C compiler default output file name...
configure: error: in `/usr/pkgsrc/lang/gcc7/work/build/alpha--netbsd/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:23224: recipe for target 'configure-stage1-target-libgomp' failed
gmake[2]: *** [configure-stage1-target-libgomp] Error 77
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc7/work/build'
Makefile:25339: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc7/work/build'
Makefile:938: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gcc7
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc7

config.log contains :

configure:3745: /usr/pkgsrc/lang/gcc7/work/build/./gcc/xgcc -B/usr/pkgsrc/lang/gcc7/work/build/./gcc/ -B/usr/pkg/gcc7/alpha--netbsd/bin/ -B/usr/pkg/gcc7/alpha--netbsd/lib/ -isystem /usr/pkg/gcc7/alpha--netbsd/include -isystem /usr/pkg/gcc7/alpha--netbsd/sys-include -g -O2 -mcpu=ev56 -mtune=ev56 -I/usr/include -mieee -Wl,-R/usr/pkg/lib conftest.c >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3749: $? = 1
configure:3786: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Offloading and Multi Processing Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU Offloading and Multi Processing Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/";
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3792: error: in `/usr/pkgsrc/lang/gcc7/work/build/alpha--netbsd/libgomp':
configure:: error: C compiler cannot create executables

	Best regards,

	JKB



Home | Main Index | Thread Index | Old Index