<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 19, 2018 at 10:06 PM, Igor Kozhukhov <span dir="ltr"><<a href="mailto:ikozhukhov@gmail.com" target="_blank">ikozhukhov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><div><div class="h5"><blockquote type="cite"><div><div dir="ltr" style="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;text-decoration:none"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 19, 2018 at 9:56 PM, Gary Mills<span class="m_-2245814089668529522Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:gary_mills@fastmail.fm" target="_blank">gary_mills@fastmail.fm</a>></span><span class="m_-2245814089668529522Apple-converted-space"><wbr> </span>wrote:<br><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>recent version of oi-userland.  The build stops with these error<br>messages:<br><br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/export/home/mills/<wbr>Downloads/code/oi-userland/<wbr>components/developer/gcc-7/<wbr>build/sparcv7/./gcc/xgcc<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/export/home/mills/Downloa<wbr>ds/code/oi-userland/components<wbr>/developer/gcc-7/build/<wbr>sparcv7/./gcc/<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-solar<wbr>is2.11/bin/<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-solar<wbr>is2.11/lib/ -isystem<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-<wbr>solaris2.11/include -isystem<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-<wbr>solaris2.11/sys-include -O2 -g -O2 -DIN_GCC -W<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>_muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.<wbr>backup; else true; fi && mv<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file crtbeginS.o: open failed: No such file or directory<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file crtendS.o: open failed: No such file or directory<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file processing errors. No output written to sparcv9/libgcc_s.so.1.tmp<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>collect2: error: ld returned 1 exit status<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>Makefile:977: recipe for target 'libgcc_s.so' failed<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>make[6]: *** [libgcc_s.so] Error 1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>make[6]: Leaving directory '/dpool/export/home/mills/Down<wbr>loads/code/oi-userland-apr/<wbr>components/developer/gcc-7/<wbr>build/sparcv7/sparc-sun-solari<wbr>s2.11/sparcv9/libgcc'<br><br>It seems to be building the runtime shared library.  However, the<br>files crtbeginS.o and crtendS.o do not exist in the build directory.<br>Neither do they exist in libgcc.a .  The directory /usr/gcc/7 also<br>does not exist, as the compiler has not been installed yet.  I'm using<br>gcc-4.4.4-il-4 to build it.<br></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote><div>Are you sure there is no crtbeginS.o at all in the directory?<br></div><div>Should they not be created already from stage-1?<br><br></div><div>You should be able to set the ld path to them using boot-ldflags.<br></div><div>Also I do not remember if multilib is considered as a native build. If not, you may need to --enable-bootstrap explicitly.<br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><div><div class="h5"><blockquote type="cite"><div><div dir="ltr" style="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;text-decoration:none"><div class="gmail_extra"><div class="gmail_quote"><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"><br>What's gone wrong?<br></blockquote><div><br></div><div>Why do you use gcc-4.4.4-il instead of the userland compiler?<br></div></div></div></div></div></blockquote><div><br></div></div></div><div>because he is on SPARC V9 :)</div><div>and try bootstrap new another compiler.</div><div><br></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></div></blockquote><br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Igor</div><div><br></div></font></span></div></div><br>______________________________<wbr>_________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/<wbr>mailman/listinfo/oi-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 19, 2018 at 10:06 PM, Igor Kozhukhov <span dir="ltr"><<a href="mailto:ikozhukhov@gmail.com" target="_blank">ikozhukhov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><div><div class="h5"><blockquote type="cite"><div><div dir="ltr" style="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;text-decoration:none"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 19, 2018 at 9:56 PM, Gary Mills<span class="m_-2245814089668529522Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:gary_mills@fastmail.fm" target="_blank">gary_mills@fastmail.fm</a>></span><span class="m_-2245814089668529522Apple-converted-space"><wbr> </span>wrote:<br><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>recent version of oi-userland.  The build stops with these error<br>messages:<br><br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/export/home/mills/<wbr>Downloads/code/oi-userland/<wbr>components/developer/gcc-7/<wbr>build/sparcv7/./gcc/xgcc<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/export/home/mills/Downloa<wbr>ds/code/oi-userland/components<wbr>/developer/gcc-7/build/<wbr>sparcv7/./gcc/<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-solar<wbr>is2.11/bin/<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-B/usr/gcc/7/sparc-sun-solar<wbr>is2.11/lib/ -isystem<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-<wbr>solaris2.11/include -isystem<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>/usr/gcc/7/sparc-sun-<wbr>solaris2.11/sys-include -O2 -g -O2 -DIN_GCC -W<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>-Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>_muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.<wbr>backup; else true; fi && mv<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>sparcv9/libgcc_s.so<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file crtbeginS.o: open failed: No such file or directory<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file crtendS.o: open failed: No such file or directory<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>ld: fatal: file processing errors. No output written to sparcv9/libgcc_s.so.1.tmp<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>collect2: error: ld returned 1 exit status<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>Makefile:977: recipe for target 'libgcc_s.so' failed<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>make[6]: *** [libgcc_s.so] Error 1<br>   <span class="m_-2245814089668529522Apple-converted-space"> </span>make[6]: Leaving directory '/dpool/export/home/mills/Down<wbr>loads/code/oi-userland-apr/<wbr>components/developer/gcc-7/<wbr>build/sparcv7/sparc-sun-solari<wbr>s2.11/sparcv9/libgcc'<br><br>It seems to be building the runtime shared library.  However, the<br>files crtbeginS.o and crtendS.o do not exist in the build directory.<br>Neither do they exist in libgcc.a .  The directory /usr/gcc/7 also<br>does not exist, as the compiler has not been installed yet.  I'm using<br>gcc-4.4.4-il-4 to build it.<br><br>What's gone wrong?<br></blockquote><div><br></div><div>Why do you use gcc-4.4.4-il instead of the userland compiler?<br></div></div></div></div></div></blockquote><div><br></div></div></div><div>because he is on SPARC V9 :)</div><div>and try bootstrap new another compiler.</div><div><br></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><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Igor</div><div><br></div></font></span></div></div><br>______________________________<wbr>_________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/<wbr>mailman/listinfo/oi-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div>