pkgsrc-Users archive

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

lang/gcc5-aux build hangs on amd64, no reference to PCH



from maya%netbsd.org@localhost:

> I've not made the same change to gcc*-aux packages.
 
> I've adjusted the gcc*-aux packages not to try to test for PCH support,
> so it will not hang now.
> I forgot I had ASLR disabled for other reasons so did not run into the
> issue at first.

Now for some strange reason, building lang/gcc5-aux on NetBSD-8.99.1 amd64 hangs but no reference to PCH.

I ran a second attempt, with "make clean" before the second attempt.

Last two (long) lines of the build log were (first time)

/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile /BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc/xgcc -shared-libgcc -B/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc -nostdinc++ -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src/.libs -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/libsupc++/.libs -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/bin/ -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/lib/ -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/include -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/sys-include    -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/../libgcc -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include/x86_64-aux-netbsd8.99.1 -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/li
 bstdc++-v3/include -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/libsupc++    -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=basic_file.lo -g -O2  -c -o basic_file.lo basic_file.cc
libtool: compile:  /BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc/xgcc -shared-libgcc -B/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc -nostdinc++ -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src/.libs -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/libsupc++/.libs -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/bin/ -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/lib/ -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/include -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/sys-include -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/../libgcc -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include/x86_64-aux-netbsd8.99.1 -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include -I/BETA1/pkgsrc/lang/gcc5-aux/work8
 99.amd64/gcc-5.4.0/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=basic_file.lo -g -O2 -c basic_file.cc -o basic_file.o

Second time:

/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile /BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc/xgcc -shared-libgcc -B/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc -nostdinc++ -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src/.libs -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/libsupc++/.libs -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/bin/ -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/lib/ -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/include -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/sys-include    -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/../libgcc -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include/x86_64-aux-netbsd8.99.1 -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/li
 bstdc++-v3/include -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/libsupc++    -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=basic_file.lo -g -O2  -c -o basic_file.lo basic_file.cc
libtool: compile:  /BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc/xgcc -shared-libgcc -B/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/./gcc -nostdinc++ -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/src/.libs -L/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/libsupc++/.libs -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/bin/ -B/usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/lib/ -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/include -isystem /usr/pkg/gcc5-aux/x86_64-aux-netbsd8.99.1/sys-include -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/gcc-5.4.0/libstdc++-v3/../libgcc -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include/x86_64-aux-netbsd8.99.1 -I/BETA1/pkgsrc/lang/gcc5-aux/work899.amd64/build/x86_64-aux-netbsd8.99.1/libstdc++-v3/include -I/BETA1/pkgsrc/lang/gcc5-aux/work8
 99.amd64/gcc-5.4.0/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=basic_file.lo -g -O2 -c basic_file.cc -o basic_file.o

Second time looks identical to the first.

I have an old build from NetBSD-7.99.15 amd64 of gcc-aux (gcc 4.9.2), from May 2015, may try to use that rather than fail at rebuilding for gcc-4.9.2.

Otherwise, I will try to build on FreeBSD. 

FreeBSD ports has lang/gcc5-aux and lang/gcc6-aux, no more gcc4-aux.

I had to go to Wikipedia for ASLR (too many acronyms for me to keep track of).  How do I disable ASLR on NetBSD, and can I disable ASLR for just one session?

Tom



Home | Main Index | Thread Index | Old Index