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

Gary Mills gary_mills at fastmail.fm
Sat May 19 22:19:06 UTC 2018


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.

-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-




More information about the oi-dev mailing list