On Sat, May 19, 2018 at 9:56 PM, Gary Mills <[email protected]> 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/ > Downloads/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? > > > -- > -Gary Mills- -refurb- -Winnipeg, Manitoba, > Canada- > > _______________________________________________ > oi-dev mailing list > [email protected] > https://openindiana.org/mailman/listinfo/oi-dev > -- --- Praise the Caffeine embeddings
_______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
