On Sat, May 19, 2018 at 10:06 PM, Igor Kozhukhov <ikozhuk...@gmail.com> wrote:
> > On Sat, May 19, 2018 at 9:56 PM, Gary Mills <gary_mi...@fastmail.fm> > wrote: > >> I'm attempting to build the developer/gcc-7 source package from a >> recent version of oi-userland. The build stops with these error >> messages: >> >> /export/home/mills/Downloads/code/oi-userland/ >> components/developer/gcc-7/build/sparcv7/./gcc/xgcc >> -B/export/home/mills/Downloads/code/oi-userland/components >> /developer/gcc-7/build/sparcv7/./gcc/ >> -B/usr/gcc/7/sparc-sun-solaris2.11/bin/ >> -B/usr/gcc/7/sparc-sun-solaris2.11/lib/ -isystem >> /usr/gcc/7/sparc-sun-solaris2.11/include -isystem >> /usr/gcc/7/sparc-sun-solaris2.11/sys-include -O2 -g -O2 -DIN_GCC -W >> -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes >> -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC >> -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared >> -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs >> -Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./ >> _muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o >> libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f >> sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1 >> sparcv9/libgcc_s.so.1.backup; else true; fi && mv >> sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s >> libgcc_s.so.1 >> sparcv9/libgcc_s.so >> ld: fatal: file crtbeginS.o: open failed: No such file or directory >> ld: fatal: file crtendS.o: open failed: No such file or directory >> ld: fatal: file processing errors. No output written to >> sparcv9/libgcc_s.so.1.tmp >> collect2: error: ld returned 1 exit status >> Makefile:977: recipe for target 'libgcc_s.so' failed >> make[6]: *** [libgcc_s.so] Error 1 >> make[6]: Leaving directory '/dpool/export/home/mills/Down >> loads/code/oi-userland-apr/components/developer/gcc-7/ >> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc' >> >> It seems to be building the runtime shared library. However, the >> files crtbeginS.o and crtendS.o do not exist in the build directory. >> Neither do they exist in libgcc.a . The directory /usr/gcc/7 also >> does not exist, as the compiler has not been installed yet. I'm using >> gcc-4.4.4-il-4 to build it. >> > Are you sure there is no crtbeginS.o at all in the directory? Should they not be created already from stage-1? You should be able to set the ld path to them using boot-ldflags. Also I do not remember if multilib is considered as a native build. If not, you may need to --enable-bootstrap explicitly. > >> What's gone wrong? >> > > Why do you use gcc-4.4.4-il instead of the userland compiler? > > > because he is on SPARC V9 :) > and try bootstrap new another compiler. > > Gary, > You can try take a look and grab compiler on DilOS - i can provide access > to sparc zone. > but, i have no gcc-7.3 version yet - still latest one is gcc-6.4 > > > -Igor > > > _______________________________________________ > oi-dev mailing list > oi-dev@openindiana.org > https://openindiana.org/mailman/listinfo/oi-dev > -- --- Praise the Caffeine embeddings On Sat, May 19, 2018 at 10:06 PM, Igor Kozhukhov <ikozhuk...@gmail.com> wrote: > > On Sat, May 19, 2018 at 9:56 PM, Gary Mills <gary_mi...@fastmail.fm> > wrote: > >> I'm attempting to build the developer/gcc-7 source package from a >> recent version of oi-userland. The build stops with these error >> messages: >> >> /export/home/mills/Downloads/code/oi-userland/ >> components/developer/gcc-7/build/sparcv7/./gcc/xgcc >> -B/export/home/mills/Downloads/code/oi-userland/components >> /developer/gcc-7/build/sparcv7/./gcc/ >> -B/usr/gcc/7/sparc-sun-solaris2.11/bin/ >> -B/usr/gcc/7/sparc-sun-solaris2.11/lib/ -isystem >> /usr/gcc/7/sparc-sun-solaris2.11/include -isystem >> /usr/gcc/7/sparc-sun-solaris2.11/sys-include -O2 -g -O2 -DIN_GCC -W >> -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes >> -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC >> -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared >> -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs >> -Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./ >> _muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o >> libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f >> sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1 >> sparcv9/libgcc_s.so.1.backup; else true; fi && mv >> sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s >> libgcc_s.so.1 >> sparcv9/libgcc_s.so >> ld: fatal: file crtbeginS.o: open failed: No such file or directory >> ld: fatal: file crtendS.o: open failed: No such file or directory >> ld: fatal: file processing errors. No output written to >> sparcv9/libgcc_s.so.1.tmp >> collect2: error: ld returned 1 exit status >> Makefile:977: recipe for target 'libgcc_s.so' failed >> make[6]: *** [libgcc_s.so] Error 1 >> make[6]: Leaving directory '/dpool/export/home/mills/Down >> loads/code/oi-userland-apr/components/developer/gcc-7/ >> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc' >> >> It seems to be building the runtime shared library. However, the >> files crtbeginS.o and crtendS.o do not exist in the build directory. >> Neither do they exist in libgcc.a . The directory /usr/gcc/7 also >> does not exist, as the compiler has not been installed yet. I'm using >> gcc-4.4.4-il-4 to build it. >> >> What's gone wrong? >> > > Why do you use gcc-4.4.4-il instead of the userland compiler? > > > because he is on SPARC V9 :) > and try bootstrap new another compiler. > > Gary, > You can try take a look and grab compiler on DilOS - i can provide access > to sparc zone. > but, i have no gcc-7.3 version yet - still latest one is gcc-6.4 > > -Igor > > > _______________________________________________ > oi-dev mailing list > oi-dev@openindiana.org > https://openindiana.org/mailman/listinfo/oi-dev > -- --- Praise the Caffeine embeddings
_______________________________________________ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev