g++-4.4 failings
Hi,
I wrote my findings here:
https://bugs.launchpad.net/debian/+source/gcc-4.4/+bug/514579
Basically, libstdc++ misses a few symbols (defined in the .common
file, so I’m a tad wary about ignoring the error and continuing).
I’m now waiting for doko to no longer throw ENOTIME…
Build log is here:
https://eurynome.mirbsd.org/~tg/tmp/gcc44m68k.log.gz
Debdiff I used:
diff -u gcc-4.4-4.4.3/debian/changelog gcc-4.4-4.4.3/debian/changelog
--- gcc-4.4-4.4.3/debian/changelog
+++ gcc-4.4-4.4.3/debian/changelog
@@ -1,3 +1,12 @@
+gcc-4.4 (4.4.3-7+m68k) unreleased; urgency=low
+
+ * debian/patches/gcc-multiarch.diff: Add m68k support.
+ * debian/rules2: Disable multi{arch,lib} on m68k for now, the
+ system headers contain inline assembly code which does not
+ work on some of them, and the architecture is too slow anyway.
+
+ -- Thorsten Glaser <tg@mirbsd.de> Mon, 19 Apr 2010 07:33:46 +0000
+
gcc-4.4 (4.4.3-7) unstable; urgency=low
* Update to SVN 20100401 from the gcc-4_4-branch (r157925).
diff -u gcc-4.4-4.4.3/debian/rules2 gcc-4.4-4.4.3/debian/rules2
--- gcc-4.4-4.4.3/debian/rules2
+++ gcc-4.4-4.4.3/debian/rules2
@@ -305,6 +305,12 @@
CONFARGS += --with-multilib-list=m4,m4-nofpu --with-cpu=sh4
endif
+ifneq (,$(findstring m68k-linux,$(DEB_TARGET_GNU_TYPE)))
+# works in theory, but libfortran/mfidoa cannot be built because
+# the system headers contain incompatible inline assembly code
+ CONFARGS += --disable-multiarch --disable-multilib
+endif
+
ifeq ($(DEB_TARGET_ARCH_OS),linux)
ifneq (,$(findstring $(DEB_TARGET_ARCH), alpha powerpc ppc64 s390 s390x sparc sparc64))
ifeq ($(DEB_TARGET_ARCH),alpha)
diff -u gcc-4.4-4.4.3/debian/patches/gcc-multiarch.diff gcc-4.4-4.4.3/debian/patches/gcc-multiarch.diff
--- gcc-4.4-4.4.3/debian/patches/gcc-multiarch.diff
+++ gcc-4.4-4.4.3/debian/patches/gcc-multiarch.diff
@@ -270,7 +270,7 @@
}
--- /dev/null
+++ b/src/gcc/multiarch.h
-@@ -0,0 +1,95 @@
+@@ -0,0 +1,101 @@
+/* Header for multiarch handling (include directories, libraries path).
+ Copyright (C) 2009 Free Software Foundation, Inc.
+ Contributed by Arthur Loiret <aloiret@debian.org>
@@ -344,6 +344,12 @@
+ { "m4", "sh4-linux-gnu" },
+ { "m4-nofpu", "sh4_nofpu-linux-gnu" },
+# endif
++# if defined(__m68k_linux_gnu__)
++ { "m68040", "m68040-linux-gnu" },
++ { "m68060", "m68060-linux-gnu" },
++ { "mcpu32", "m68360-linux-gnu" },
++ { "mfidoa", "fido-linux-gnu" },
++# endif
+#endif /* ENABLE_MULTIARCH */
+ { 0, 0 }
+};
bye,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
Reply to: