[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [m68k] Re: GCC-4.5 as the default for (at least some) architectures




On 03/03/2011, at 6:35 AM, Thorsten Glaser wrote:

Brian Morris dixit:

I noticed the other day that a new dependency (MPC) from upstream for gcc4.5

http://gcc.gnu.org/gcc-4.5/changes.html

is failing to build on 68k,
see m68k at the bottom of this page, says not since gcc 4.3.

While I can probably take care of compiling gcc-4.5 and its
dependencies, we “just” got gcc-4.4 in a pretty good shape,
plus it’s used by the kernel, whereas gcc-4.5 is another
burden, and $someone would need to check whether the fixes
we had added to 4.4 are already in 4.5 (either upstream or
Debian) and add them if they aren’t… not impossible, but I
don’t know if it’s wise, at the moment (not long-term).

Priority is to get the kernel from unstable patched, working
and usable at the moment, since the toolchain works now.
(Thanks Matthias for accepting the binutils and gcc-4.4 patches!)

Oh, and, of course, to get an actual buildd running…


I'm also just happy to have a compile suite that works. mpc gets close with gcc 4.4.5, build attempt under Thorsten Glaser's m68k 2.6.32 image with a 2.6.37.1 kernel.

After 2 days, 18 hours on a Quadra 650 not using distcc or ccache, using standard sources unpatched;
mpc compiles, checks but does not install,
mpfr compiles, checks and installs (in /usr/lib with makefile edit),
gmp compiles, checks and installs (in /usr/lib with makefile edit).

This is with another /usr/lib change to the Makefile of mpc. The install script ignores a change to install directory and tries to find a file that it did not make. (I'm probably missing an install step)

output end of $ make check

make  check-TESTS
make[2]: Entering directory `/usr/src/mpc-0.9/tests'
PASS: tabs
PASS: tacos

<snip>

PASS: tui_div
PASS: tui_ui_sub
GMP: include 5.0.1, lib 5.0.1
MPFR: include 3.0.0, lib 3.0.0
MPC: include 0.9, lib 0.9
PASS: tget_version
===================
All 60 tests passed
===================
make[2]: Leaving directory `/usr/src/mpc-0.9/tests'
make[1]: Leaving directory `/usr/src/mpc-0.9/tests'
Making check in doc
make[1]: Entering directory `/usr/src/mpc-0.9/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/mpc-0.9/doc'
make[1]: Entering directory `/usr/src/mpc-0.9'
make[1]: Leaving directory `/usr/src/mpc-0.9'
root@elements:/usr/src/mpc-0.9$ make install
Making install in src
make[1]: Entering directory `/usr/src/mpc-0.9/src'
make[2]: Entering directory `/usr/src/mpc-0.9/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libmpc.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libmpc.so.2.0.0 /usr/local/ lib/libmpc.so.2.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libmpc.so.2.0.0 libmpc.so.2 || { rm -f libmpc.so.2 && ln -s libmpc.so.2.0.0 libmpc.so. 2; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libmpc.so.2.0.0 libmpc.so || { rm -f libmpc.so && ln -s libmpc.so.2.0.0 libmpc.so; }; }) libtool: install: /usr/bin/install -c .libs/libmpc.lai /usr/local/lib/ libmpc.la /usr/bin/install: cannot stat `.libs/libmpc.lai': No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/src/mpc-0.9/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/mpc-0.9/src'
make: *** [install-recursive] Error 1
root@elements:/usr/src/mpc-0.9$

All gcc logs here mich431.net/m68k/
http://mich431.net/m68k/gmp.log.txt
http://mich431.net/m68k/mpfr.log.txt
http://mich431.net/m68k/mpc.log.txt

--
Michael Tomkins
michft@gmail.com
+61 408 172 142


Reply to: