[oi-dev] Build of gcc-7.3.0 stops with linker errors

Aurélien Larcher aurelien.larcher at gmail.com
Sat May 19 22:22:39 UTC 2018


On Sun, May 20, 2018 at 12:19 AM, Gary Mills <gary_mills at fastmail.fm> wrote:

> On Sat, May 19, 2018 at 10:47:05PM +0200, Aurélien Larcher wrote:
> >
> >    Are you sure there is no crtbeginS.o at all in the directory?
>
> Quite sure:
>
>     $ find build -name 'crt*.o' -ls
>     22700589    2 -rw-r--r--   1 mills    staff        1416 May 19 10:40
> build/sparcv7/gcc/sparcv9/crt1.o
>     22700587    4 -rw-r--r--   1 mills    staff        3232 May 19 10:40
> build/sparcv7/gcc/sparcv9/crtbegin.o
>     22700588    2 -rw-r--r--   1 mills    staff         952 May 19 10:40
> build/sparcv7/gcc/sparcv9/crtend.o
>     22700591    5 -rw-r--r--   1 mills    staff        3928 May 19 10:40
> build/sparcv7/gcc/sparcv9/crtfastmath.o
>     22700584    5 -rw-r--r--   1 mills    staff        3928 May 19 10:40
> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtfastmath.o
>     22700578    2 -rw-r--r--   1 mills    staff         952 May 19 10:40
> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtend.o
>     22700576    4 -rw-r--r--   1 mills    staff        3232 May 19 10:40
> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtbegin.o
>     22700580    2 -rw-r--r--   1 mills    staff        1416 May 19 10:40
> build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crt1.o
>
> >    Should they not be created already from stage-1?
>
> That's what I expected.
>
> >    You should be able to set the ld path to them using boot-ldflags.
>
> They don't exist anywhere on the system.
>
> >    Also I do not remember if multilib is considered as a native build. If
> >    not, you may need to --enable-bootstrap explicitly.
>
> Okay, thanks.
>

Sorry, my memory is a bit shaky on these topics... :S


>
> --
> -Gary Mills-            -refurb-                -Winnipeg, Manitoba,
> Canada-
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20180520/57c0639d/attachment-0005.html>


More information about the oi-dev mailing list