Friday, 10 April 2020

Re: [gccsdk] Building GCC 8

In message <176bd07b-74f0-0e8a-098f-c29539d5d40a@macpcrepair.co.uk>
John Ballance <jwb@macpcrepair.co.uk> wrote:

[snip]

> Could you apply the following to the version in the repository?

> --- autobuilder/develop/gcc/setvars.orig 2020-04-03
> 23:40:45.072349512 +0100
> +++ autobuilder/develop/gcc/setvars� 2020-04-03 23:39:07.592051831 +0100
> @@ -6,6 +6,7 @@
> �AB_MAKE=
> AB_PRECONF=":"
> �AB_CONFIG=
> +AB_DISTCLEAN="$AB_MAKE do-distclean || $AB_MAKE do-clean"

> �export GCCSDK_RISCOS_ABI_VERSION=armeabihf

The native gcc8 has been built. (gcc4 was also built to get
SharedUnixLibrary 1.16.)

There is failure logged at the end of the build. See r7298.

Autobuilder: Packaging source
/home/djp/gccsdk/autobuilder/build-program: line 384: do-distclean:
command not found
/home/djp/gccsdk/autobuilder/build-program: line 384: do-clean:
command not found

Otherwise the native build looks to have completed.

On the Titanium the gcc8 native build can report its version.

*gcc --version
gcc (GCCSDK GCC 8.2.0 Release 1) 8.2.0

But actual compiles fail.

*gcc -c helloworld.c
ADFS::Titan4.$.Work.Proj.gcc8-r7302.!GCC.bin.as: can't load library
'libz.so.1'
*

There are no libz SharedLibs files.

The last-failure log is at
http://www.pittdj.co.uk/temp/last-failure.zip

This contains a number of lines that may indicate a libz issue.

/home/djp/gccsdk/env/lib/gcc/arm-riscos-gnueabihf/8.2.0/../../../../arm-riscos-g
nueabihf/bin/ld: warning: libgcc_s.so, needed by
/home/djp/gccsdk/env/lib/libz.so, not found (try using -rpath or
-rpath-link)

HTH.


--
David Pitt
Titanium

No comments:

Post a Comment