<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 19, 2018 at 9:56 PM, Gary Mills <span dir="ltr"><<a href="mailto:gary_mills@fastmail.fm" target="_blank">gary_mills@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
    /export/home/mills/Downloads/<wbr>code/oi-userland/components/<wbr>developer/gcc-7/build/sparcv7/<wbr>./gcc/xgcc<br>
    -B/export/home/mills/<wbr>Downloads/code/oi-userland/<wbr>components/developer/gcc-7/<wbr>build/sparcv7/./gcc/<br>
    -B/usr/gcc/7/sparc-sun-<wbr>solaris2.11/bin/<br>
    -B/usr/gcc/7/sparc-sun-<wbr>solaris2.11/lib/ -isystem<br>
    /usr/gcc/7/sparc-sun-solaris2.<wbr>11/include -isystem<br>
    /usr/gcc/7/sparc-sun-solaris2.<wbr>11/sys-include -O2 -g -O2 -DIN_GCC -W<br>
    -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes<br>
    -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC<br>
    -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared<br>
    -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs<br>
    -Wl,-M,libgcc.map -o sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -B./<br>
    _muldi3_s.o _negdi2_s.o ... unwind-sjlj_s.o unwind-c_s.o emutls_s.o<br>
    libgcc.a -lc && rm -f sparcv9/libgcc_s.so && if [ -f<br>
    sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1<br>
    sparcv9/libgcc_s.so.1.backup; else true; fi && mv<br>
    sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1<br>
    sparcv9/libgcc_s.so<br>
    ld: fatal: file crtbeginS.o: open failed: No such file or directory<br>
    ld: fatal: file crtendS.o: open failed: No such file or directory<br>
    ld: fatal: file processing errors. No output written to sparcv9/libgcc_s.so.1.tmp<br>
    collect2: error: ld returned 1 exit status<br>
    Makefile:977: recipe for target 'libgcc_s.so' failed<br>
    make[6]: *** [libgcc_s.so] Error 1<br>
    make[6]: Leaving directory '/dpool/export/home/mills/<wbr>Downloads/code/oi-userland-<wbr>apr/components/developer/gcc-<wbr>7/build/sparcv7/sparc-sun-<wbr>solaris2.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> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
-Gary Mills-            -refurb-                -Winnipeg, Manitoba, Canada-<br>
<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>
</font></span></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>