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

Re: Has anyone successfully bootstrapped gcc-4.6.3 on m68k?



Vaugha Brewchuk dixit:

>This post is a bit off-topic since I am not actually trying to
>bootstrap gcc-4.6.3 on Debian but on another m68k system.

That doesn’t prevent you from taking clues from Debian, such as,
which patches to apply, right? ;-)

>And hence my question: has anyone successfully bootstrapped gcc-4.6.3
>on m68k?

I know of at least some others. But they all have applied some
patches, and some GCC developers said a gcc-4.6 without them
is not to be trusted.

>I also wonder whether perhaps a different gcc-4 version is a better
>starting point for the NeXT?

Maybe gcc-4.4, which used to be our previous “solid” compiler.

But try gcc-4.6 with the patches first. In almost all situations
(PR52306 excepted) it behaves as well or better.

You can pick the latest collection from here:

http://ftp.debian-ports.org/debian/pool-m68k/main/g/gcc-4.6/gcc-4.6_4.6.3-5+m68k.1.diff.gz

I‘ve attached a list of patches applied, so you don’t need to dig
the makefiles and can just pull them from debian/patches/ instead.

gl hf
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"
svn-updates:
  updates from the 4.6 branch upto 20120430 (r186999).

gcc-gfdl-build:
  Build a dummy s-tm-texi without access to the texinfo sources

gcc-textdomain:
  Set gettext's domain and textdomain to the versioned package name.

gcc-driver-extra-langs:
  Add options and specs for languages that are not built from a source
  (but built from separate sources).

gcc-hash-style-both:
  Link using --hash-style=both (alpha, amd64, armel, armhf, ia64, i386, powerpc, ppc64, s390, sparc)

libstdc++-pic:
  Build and install libstdc++_pic.a library.

libstdc++-doclink:
  adjust hrefs to point to the local documentation

libstdc++-man-3cxx:
  Install libstdc++ man pages with suffix .3cxx instead of .3

libstdc++-test-installed:
  Add support to run the libstdc++-v3 testsuite using the
  installed shared libraries.

libjava-stacktrace:
  libgcj: Lookup source file name and line number in separated
  debug files found in /usr/lib/debug

libjava-jnipath:
  - Add /usr/lib/jni and /usr/lib/<multiarch>/jni to java.library.path.
  - When running the i386 binaries on amd64, look in
  - /usr/lib32/gcj-x.y and /usr/lib32/jni instead.

libjava-sjlj:
  Don't try to use _Unwind_Backtrace on SJLJ targets.
  See bug #387875, #388505, GCC PR 29206.

libjava-disable-plugin:
  Don't build the gcjwebplugin, even when configured with --enable-plugin

alpha-no-ev4-directive:
  never emit .ev4 directive.

boehm-gc-getnprocs:
  boehm-gc/pthread_support.c (GC_get_nprocs): Use sysconf as fallback.

note-gnu-stack:
  Add .note.GNU-stack sections for gcc's crt files, libffi and boehm-gc
  Taken from FC.

libgomp-omp_h-multilib:
  Fix up omp.h for multilibs.

sparc-force-cpu:
  On sparc default to ultrasparc (v9a) in 32bit mode

pr24619:
  Proposed patch for PR mudflap/24619 (instrumentation of dlopen)

gccgo-version:
  Omit the subminor number from the go libdir

no_fpr_in_libgcc:
  It does not really harm by including them since nobody should use them
  but gas does not wont to assmebly hard float since they are not
  available on this cpu. Upstream did not respond.

pr48226:
  Fix PR target/48226, Allow Iterator::vector vector on powerpc with VSX.

pr47487:
  Fix PR target/47487 powerpc64 ICE building libgo

mudflap-varargs:
  Add mudflap support for varargs

mudflapth-link:
  Link libmudflapth.so with -lpthread

pr45078:
  Proposed patch for PR plugin/45078

pr43804:
  Fix for PR target/43804 backported from SVN

pr47818:
  Fix PR ada/47818: Pragma Assert is rejected with No_Implementation_Pragmas restriction.

pr48830:
  Fix for PR rtl-optimization/{48830,48808,48792}, taken from the trunk.

pr49169:
  * Fix PR tree-optimization/49169, optimisations strip the Thumb/ARM mode bit
  off function pointers (Richard Sandiford).

pr49756:
  Fix PR c++/49756, backport from trunk

pr49940:
  Apply proposed patch for PR ada/49940.

pr49944:
  apply proposed patch for PR ada/49444.

gcc-cloog-dl:
  Link against -ldl instead of -lcloog -lppl. Exit with an error when using
  the Graphite loop transformation infrastructure without having the
  libcloog-ppl0 package installed. Packages using these optimizations
  should build-depend on libcloog-ppl0.

libffi-kfreebsd:
  libffi:  Define FFI_MMAP_EXEC_WRIT on kfreebsd-*.

libffi-m68k:
  Apply #660525 fix to in-tree libffi

gcc-base-version:
  Set base version to 4.6, introduce full version 4.6.x.

pr49696:

libffi-powerpc-sf:

libffi-powerpc-sysv-without-string-ops:

pr49030:
  Fix PR target/49030 (ARM), taken from Linaro

pr50193:
  Fix PR target/50193 (ARM), taken from Linaro.

pr50114:
  Fix PR c++/50114, backport from trunk.

pr50946:
  Fix PR target/50946, taken from the trunk.

gcc-arm-abi-conformance:
  Fix ARM ABI conformance regression.

sh4-enable-ieee:
  Enable -mieee by default on sh4.

pr47955:
  Backport bugfix from gcc-4.7/trunk

m68k-fp-cmp-zero:

gcc-d-lang:
  Add D options and specs for the gcc driver.

pr47612:
  Attachment 23909 to fix PR rtl-optimization/47612

m68k-revert-pr45144:

m68k-ada:

m68k-mint:

libjava-disable-static:
  Disable building the static libjava.

s390-biarch:
  Build a bi-arch compiler on s390-linux-gnu.
  http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01044.html

mips-triarch:
  Build a tri-arch compiler on mips-linux-gnu.
  http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01047.html

arm-dynamic-linker:
  For ARM hard float, set the dynamic linker to
  /lib/ld-linux-armhf.so.3.

arm-multilib-defaults:
  Set MULTILIB_DEFAULTS for ARM multilib builds

gcc-ice-hack:
  Retry the build on an ice, save the calling options and preprocessed
  source when the ice is reproducible.

gcc-ice-apport:
  Report an ICE to apport (if apport is available
  and the environment variable GCC_NOAPPORT is not set)

libjava-fixed-symlinks:
  Remove unneed '..' elements from symlinks in JAVA_HOME

libstdc++-arm-wno-abi:
  Temporary work around:
  On arm-linux-gnueabi run the libstdc++v3 testsuite with -Wno-abi

ada-mips:
  Improve support for mips.

libffi-ro-eh_frame_sect:
  PR libffi/47248, force a read only eh frame section.

gcc-multiarch:
  Add multiarch support to GCC.
  
  Convert the multilib option to a target triplet,
  add multiarch include directories and libraries path:
  	/usr/local/include/<arch>-linux-gnu
  	/usr/include/<arch>-linux-gnu
  	/usr/lib/<arch>-linux-gnu
  to the system paths.

libjava-multiarch:
  Install libjava libraries to multiarch location

libjava-nobiarch-check:
  For biarch builds, disable the testsuite for the non-default architecture
  for runtime libraries, which are not built by default (libjava).

config-ml:
  disable some biarch libraries for biarch builds

gcc-powerpc-nof:
  Don't build nof multlib on powerpc.

gcc-powerpc-undef:
  Undefine LINK_EH_SPEC before redefining it
  http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01082.html

gcc-no-add-needed:
  On linux targets pass --no-add-needed to the linker.

mips-fix-loongson2f-nop:
  On mips, pass -mfix-loongson2f-nop to as, if -mno-fix-loongson2f-nop
  is not passed.

gcc-system-root:
  Remove trailing slash from system root directory

libgomp-kfreebsd-testsuite:
  Disable lock-2.c test on kfreebsd-*

armhf-triplet:
  add support for arm-linux-*eabi* triplets; useful for armhf

Reply to: