<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, May 19, 2018 at 9:56 PM, Gary Mills<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:gary_mills@fastmail.fm" target="_blank" class="">gary_mills@fastmail.fm</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">I'm attempting to build the developer/gcc-7 source package from a<br class="">recent version of oi-userland.  The build stops with these error<br class="">messages:<br class=""><br class="">   <span class="Apple-converted-space"> </span>/export/home/mills/Downloads/<wbr class="">code/oi-userland/components/<wbr class="">developer/gcc-7/build/sparcv7/<wbr class="">./gcc/xgcc<br class="">   <span class="Apple-converted-space"> </span>-B/export/home/mills/<wbr class="">Downloads/code/oi-userland/<wbr class="">components/developer/gcc-7/<wbr class="">build/sparcv7/./gcc/<br class="">   <span class="Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-<wbr class="">solaris2.11/bin/<br class="">   <span class="Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-<wbr class="">solaris2.11/lib/ -isystem<br class="">   <span class="Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-solaris2.<wbr class="">11/include -isystem<br class="">   <span class="Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-solaris2.<wbr class="">11/sys-include -O2 -g -O2 -DIN_GCC -W<br class="">   <span class="Apple-converted-space"> </span>-Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes<br class="">   <span class="Apple-converted-space"> </span>-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC<br class="">   <span class="Apple-converted-space"> </span>-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared<br class="">   <span class="Apple-converted-space"> </span>-nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs<br class="">   <span class="Apple-converted-space"> </span>-Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./<br class="">   <span class="Apple-converted-space"> </span>_muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o<br class="">   <span class="Apple-converted-space"> </span>libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f<br class="">   <span class="Apple-converted-space"> </span>sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1<br class="">   <span class="Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.backup; else true; fi && mv<br class="">   <span class="Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1<br class="">   <span class="Apple-converted-space"> </span>sparcv9/libgcc_s.so<br class="">   <span class="Apple-converted-space"> </span>ld: fatal: file crtbeginS.o: open failed: No such file or directory<br class="">   <span class="Apple-converted-space"> </span>ld: fatal: file crtendS.o: open failed: No such file or directory<br class="">   <span class="Apple-converted-space"> </span>ld: fatal: file processing errors. No output written to sparcv9/libgcc_s.so.1.tmp<br class="">   <span class="Apple-converted-space"> </span>collect2: error: ld returned 1 exit status<br class="">   <span class="Apple-converted-space"> </span>Makefile:977: recipe for target 'libgcc_s.so' failed<br class="">   <span class="Apple-converted-space"> </span>make[6]: *** [libgcc_s.so] Error 1<br class="">   <span class="Apple-converted-space"> </span>make[6]: Leaving directory '/dpool/export/home/mills/<wbr class="">Downloads/code/oi-userland-<wbr class="">apr/components/developer/gcc-<wbr class="">7/build/sparcv7/sparc-sun-<wbr class="">solaris2.11/sparcv9/libgcc'<br class=""><br class="">It seems to be building the runtime shared library.  However, the<br class="">files crtbeginS.o and crtendS.o do not exist in the build directory.<br class="">Neither do they exist in libgcc.a .  The directory /usr/gcc/7 also<br class="">does not exist, as the compiler has not been installed yet.  I'm using<br class="">gcc-4.4.4-il-4 to build it.<br class=""><br class="">What's gone wrong?<br class=""></blockquote><div class=""><br class=""></div><div class="">Why do you use gcc-4.4.4-il instead of the userland compiler?<br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>because he is on SPARC V9 :)</div><div>and try bootstrap new another compiler.</div><div><br class=""></div><div>Gary,</div><div>You can try take a look and grab compiler on DilOS - i can provide access to sparc zone.</div><div>but, i have no gcc-7.3 version yet - still latest one is gcc-6.4</div><div><br class=""></div><div>-Igor</div><div><br class=""></div></div></body></html>