[gccsdk] Building GCC 8

Lee Noar lee.noar at sky.com
Sun Mar 29 13:44:46 PDT 2020


On 29/03/2020 20:01, David Pitt wrote:
> I have been trying to build gcc 8.2 on the autobuilder, because it’s there
> and suddenly there is time to spare, with :-
> 
> ../autobuilder/build -v gcc
> 
> It fails :-
> 
> make[2]: Leaving directory
> '/home/djp/gccsdk/build/gcc/gcc-8.2.0/cross-build/ld-riscos'
> make[1]: Leaving directory
> '/home/djp/gccsdk/build/gcc/gcc-8.2.0/cross-build/ld-riscos'
> Autobuilder: Running make command:
> /bin/cp: cannot create regular file
> '/home/djp/gccsdk/build/gcc/package/SharedLibs-armeabihf/Resources/!SharedLibs/lib/armeabihf/libgcc_s.so.1,E1F':
> No such file or directory
> 
> The source is line 186 from SetVars.
> 
> # libgcc_s doesn't follow the rules
>    cp -fT $GCCSDK_INSTALL_ENV/arm-riscos-gnueabihf/lib/libgcc_s.so.1
> $A/lib/$GCCSDK_RISCOS_ABI_VERSION/libgcc_s.so.1,E1F
>    $GCCSDK_INSTALL_CROSSBIN/arm-unknown-riscos-ln -s libgcc_s.so.1
> $A/lib/$GCCSDK_RISCOS_ABI_VERSION/libgcc_s.so,1C8
> 
> What have I missed.

I can't see anything obvious.

The previous ab_add_sharedlib should have created the necessary
directory structure, but do all the directories exist up to
!SharedLibs/lib/armeabihf? There should be other libraries in
there already.

Lee.



More information about the gcc mailing list