Differences between revisions 25 and 138 (spanning 113 versions)
Revision 25 as of 2006-03-27 17:20:58
Size: 4960
Editor: ?smarenka
Comment:
Revision 138 as of 2016-06-12 04:39:50
Size: 9725
Editor: PaulWise
Comment: ports category
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page tracks current issues with ["GCC"] for DebianM68kPorting. User support is at debian-68k@lists.debian.org. Buildd admins can be found at m68k-build@nocrew.org.
#language en
## page was renamed from DebianM68kGcc

This page tracks current issues with [[GCC]] for [[M68k/Porting]]. User support and buildd admins can be found at debian-68k@lists.debian.org .

 * gcc-4.4 with TLS backport is now the default
 * works rather well
 * builds from unmodified Debian unstable sources (thanks doko!)
 * TLS capable eglibc in Debian unstable (thanks Aurélien!)
 * next version will be gcc-4.6 (we will skip gcc-4.5 and it will not be released with wheezy according to doko)
 * gcc-4.3 (and older) have been removed from Debian unstable already (by April 2011)
Line 5: Line 14:

 * If you find a bug not listed [http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=m68k;users=m68k-build@nocrew.org;pri0=tag:help,moreinfo,needs-help,needs-port,pending,upstream,patch,gcc-40,toolchain here], please usertag it or drop us a message, see DebianM68kPorting.


= gcc-4.0 bugs =

 * debian [http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=gcc-4.0 bts]
 * upstream gcc [http://gcc.gnu.org/bugzilla/ bugs]
 * If you find a bug not [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=m68k;users=m68k-build@nocrew.org;|listed]], please usertag it or drop us a message, see [[M68k/Porting]].

== binNMUs ==
 * binNMU [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=binNMU;users=m68k-build@nocrew.org|bugs]]

<<Anchor(cross)>>
= Cross-Compilers =

  * build a stretch chroot for amd64
  * A metapackage {{{gcc-m68k-linux-gnu}}} (also cpp, g++) is available
  * These are built according to BuildingCrossCompilers

== Building Cross-Compilers ==

 * Best to start with [[EmdebianToolchain]].
 * Christian's cross-compiler guide for kernel building: http://people.debian.org/~cts/debian-m68k/cross-compile/
 * Roman's cross-compiler guide for crosscc: http://www.xs4all.nl/~zippel/crosscc/crosscc.README
 * Stephen's cross-compiler draft notes: http://people.debian.org/~smarenka/m68k/cross-compilers/aaareadme.txt




= obsolete? =

The information below is probably mostly obsolete

= Bugs =
Gathering the bugs in gcc-4.3_4.3.1-8.

== ice in find_reloads ==
 * hdf5
  * found in gcc 4.3.1-8
  * found in cross compiler
  * confirmed in 4.3.4-10+m68k from unreleased (tg@)
  * hit in kernel compile (btrfs) XXX why do we not use CONFIG_FRAME_POINTER?
  * [[http://people.debian.org/~smarenka/m68k/bugs/testreloads.c|test case]]
  * gnu pr [[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37052|37052]]
  * bug #
{{{
testreloads.c:207: error: unable to generate reloads for:
(insn:QI 631 629 632 41 testreloads.c:94 (parallel [
            (set (cc0)
                (compare (reg/v:DI 0 %d0 [orig:117 j ] [117])
                    (reg:DI 4 %d4 [orig:115 pretmp.69 ] [115])))
            (clobber (reg:DI 273))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 273)
        (nil)))
testreloads.c:207: internal compiler error: in find_reloads, at reload.c:3744
}}}
=== related? ===
 * ffmpeg-debian
  * found in gcc-4.3_4.3.1-2
{{{
avidec.c:606: error: unable to generate reloads for:
(insn:QI 1388 1785 1389 174 /build/buildd/ffmpeg-debian-0.svn20080206/libavformat/avidec.c:211 (parallel [
            (set (cc0)
                (compare (reg:DI 10 %a2 [orig:62 pretmp.702 ] [62])
                    (reg:DI 4 %d4 [430])))
            (clobber (reg:DI 431))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 431)
        (nil)))
avidec.c:606: internal compiler error: in find_reloads, at reload.c:3744}}}
 * ffmpeg-free
  * found in gcc-4.3_4.3.0-3
{{{
avidec.c:606: error: unable to generate reloads for:
(insn:QI 1388 1785 1389 174 avidec.c:211 (parallel [
            (set (cc0)
                (compare (reg:DI 10 %a2 [orig:62 pretmp.702 ] [62])
                    (reg:DI 4 %d4 [430])))
            (clobber (reg:DI 431))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 431)
        (nil)))
avidec.c:606: internal compiler error: in find_reloads, at reload.c:3744}}}
 * llvm
  * found in gcc-4.3_4.3.0-3
  * different than above, although same area
{{{
InstructionCombining.cpp:9187: error: unable to generate reloads for:
(insn:QI 1193 1192 1194 210 InstructionCombining.cpp:8939 (parallel [
            (set (cc0)
                (compare (reg:DI 0 %d0)
                    (reg:DI 4 %d4 [499])))
            (clobber (reg:DI 501))
        ]) 12 {*m68k.md:521} (expr_list:REG_DEAD (reg:DI 0 %d0)
        (expr_list:REG_UNUSED (reg:DI 501)
            (nil))))
InstructionCombining.cpp:9187: internal compiler error: in find_reloads, at reload.c:3744}}}
== ice in reload_cse_simplify_operands ==
 * r-base
  * found in gcc-4.3_4.3.1-8
  * found in cross-compiler
  * [[http://people.debian.org/~smarenka/m68k/bugs/postreload.c|test case]]
  * gnu pr [[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053|37053]]
  * bug #
{{{
postreload.c:886: error: insn does not satisfy its constraints:
(insn 309 2675 2677 36 postreload.c:446 (set (reg:SI 0 %d0)
        (plus:SI (mem/f:SI (reg:SI 8 %a0) [0 S4 A16])
            (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
postreload.c:886: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
}}}
 * pymol
  * found in gcc-4.3_4.3.1-8
{{{
Selector.c:3225: error: insn does not satisfy its constraints:
(insn 276 502 504 38 layer3/Selector.c:3213 (set (reg:SI 0 %d0)
        (plus:SI (mem/f:SI (reg:SI 8 %a0) [0 S4 A16])
            (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
layer3/Selector.c:3225: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395}}}

=== related? ===

 * gnudatalanguage
  * found in gcc-4.3_4.3.1-8
{{{convol.cpp:127: error: insn does not satisfy its constraints:
(insn 1771 4339 1772 331 convol_inc1.cpp:355 (set (reg:HI 0 %d0 [orig:675+2 ] [675])
        (mult:HI (mem:HI (reg:SI 9 %a1) [304 S2 A16])
            (reg:HI 0 %d0 [orig:673+2 ] [673]))) 178 {mulhi3} (nil))
convol.cpp:127: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
}}}

 * meep
  * found in gcc-4.3_4.3.1-8
{{{../../../src/boundaries.cpp:441: error: insn does not satisfy its constraints:
(insn 1749 3315 3317 237 ../../../src/boundaries.cpp:427 (set (reg:SI 6 %d6)
        (plus:SI (mem/s/f:SI (reg:SI 9 %a1) [68 <variable>.P S4 A8])
            (reg:SI 6 %d6))) 132 {*addsi3_internal} (nil))
../../../src/boundaries.cpp:441: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
}}}
 * courier
  * found in gcc-4.3_4.3.0-3
  * {{{utf7.c:229: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395}}}
 * gnome-keyring
  * found in gcc-4.3_4.3.1-2
  * {{{gkr-crypto.c:151: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395}}}
 * insighttoolkit
  * found in gcc-4.3_4.3.1-8
  * {{{jdsample.c:141: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395}}}
 * osptoolkit
  * {{{sptransapi.c:121: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395}}}
== ice Segmentation fault: Reconfirm with -8 ==
 * gnome-settings-daemon
  * found in gcc-4.3_4.3.0-3
  * {{{gsd-xmodmap.c:397: internal compiler error: Segmentation fault}}}
 * oolite
  * found in gcc-4.3_4.3.1-2
  * {{{PlayerEntity Additions.m:1882: internal compiler error: Segmentation fault}}}
 * opencv
  * found in gcc-4.3_4.3.1-2
  * {{{cvfundam.cpp:311: internal compiler error: Segmentation fault}}}
 * gmfsk
  * {{{internal compiler error: Segmentation fault}}}
 * gpc-4.1
  * {{{rtsc.pas:430: internal compiler error: Segmentation fault}}}

== Other ==
 * simutrans
  * found in gcc-4.3_4.3.1-8
  * {{{route.cc:520: internal compiler error: in subreg_get_info, at rtlanal.c:3185}}}

== Reconfirm w/ -8 ==
 * compiz
  * found in gcc-4.3_4.3.0-3
  * {{{decorator.moc.cpp:130: internal compiler error: in value_format, at dwarf2out.c:7015}}}
 * iceowl
  * found in gcc-4.3_4.3.0-3
  * {{{error: asm-specifier for variable ¿result¿ conflicts with asm clobber list}}}
 * linux-2.6
  * found in gcc-4.3
 * genesis
  * found in gcc-4.3_4.3.0-3
  * {{{hines_chip.c:595: internal compiler error: in reg_overlap_mentioned_for_reload_p, at reload.c:6525}}}
 * gforth
  * {{{./engine.c:340: error: unable to find a register to spill in class ADDR_REGS}}}
 * libgnupdf
  * {{{ccZe2Dva.s:1523: Error: operands mismatch -- statement `rol.w #0,%d2' ignored}}}
 * openvrml
  * {{{Internal error: Killed (program cc1plus)}}}
 * washngo_2.12-1
  * {{{Internal error: Killed (program cc1)}}}

= Old glibc vs. gcc-4.3 =
Per http://lists.debian.org/debian-68k/2008/04/msg00033.html

The glibc support for the C99 inline semantics was added in glibc 2.6 and all the non-TLS support was removed. GCC 4.3 and later use C99 inline semantics in -std=gnu99 mode

This was resolved with -5 (although the first GCC we managed to build was -8). -std=gnu99 mode can now be used without any issue.

= gcc-4.x bugs =
 * debian [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=gcc-4.3|gcc-4.3 bts]]
 * debian [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=gcc-4.2|gcc-4.2 bts]]
 * debian [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=gcc-4.1|gcc-4.1 bts]]
 * upstream gcc [[http://gcc.gnu.org/bugzilla/|bugs]]
Line 14: Line 212:

Line 17: Line 213:

 * ICE in instantiate_virtual_regs_lossage
  * debian #[http://bugs.debian.org/333536 333536], gnu pr [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25043 25043] (m68k not primary platform)
  * from 25043: fixed in 4.1, 4.2, fails 4.0.3
  * found in gcc-4.0 4.0.2-7
  * fixed in debian gcc-4.1 4.1-0exp4
  * pkgs: cl-sql_3.5.3-1, ntop_3:3.2-1, plptools_0.14-1, rsplib_1.0.0-1, squashfs_1:2.2r2-1, xfsprogs_2.7.7-1 ksymoops_2.4.11-1

 * csound_1:4.23f13-1: executable segfaults
  * debian #[http://bugs.debian.org/342121 342121], gnu pr [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25496 25496] (filed 20051219)
  * found in gcc-4.0 4.0.2-7, gcc-4.1 4.1-0exp4
  * note: accessing a char array as a long is an aliasing violation, per 25496 -- share with csound maintainer.
  * shared per debian #[http://bugs.debian.org/350757 350757]

 * make: fatal error: internal consistency failure
  * debian #[http://bugs.debian.org/344041 344041], gnu pr [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25514 25514]
  * found in gcc-4.0 4.0.2-7, gcc-4.1 4.1-0exp4
  * noted upstream that it's also found in 4.1

 * cppunit: optimizer bug: registers are clobbered but not restored
  * debian #[http://bugs.debian.org/345574 345574], gnu pr [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25642 25642]
  * found in gcc-4.0 4.0.2-5, fixed in 4.0.2-7 or worked around in cppunit?
  * retry aptitude once cppunit is fixed


== not upstream yet ==

 * error: unable to find a register to spill in class 'ADDR_REGS'
  * debian #[http://bugs.debian.org/323016 323016]
  * seems like this was fixed, but it just showed up again with ruby1.9 and 4.0.2-7.
  * fixed in gcc-4.1 4.1-0exp4

 * ICE: output_operand: invalid expression as operand:
  * debian #[http://bugs.debian.org/270340 270340], gnu pr 18592 (last updated 20050723)
  * found in gcc-4.0 4.0.2-5
  * pkgs: gnutls11_1.0.16-14, openmsx_0.5.2-4, zynaddsubfx_2.2.1-2.1 log4cxx_0.9.7-4 (w/gcc-4.0)
  * The original test case doesn't fail, so this bug differs from 18592.
  * fixed in gcc-4.1 4.1-0exp4

 * nmh: ICE reload_cse_simplify_operands
  * debian #[http://bugs.debian.org/340293 340293], gnu pr 24912 (last updated 20051121)
  * from 24912: fixed in trunk? (gnu pr is closed)
  * found in gcc-4.0 4.0.2-7, found in 4.1 4.1-0exp4
  * The original test case doesn't fail, so this bug differs from 24912.

 * fftw3: ICE in reload
  * debian #[http://bugs.debian.org/323426 323426]
  * found in gcc-3.4 3.4.4-9, found in gcc-4.0 4.0.2-4
  * needs a test case
  * test vs. gcc-4.1

 * ICE: segfault
  * debian #[http://bugs.debian.org/343692 343692]
  * found in gcc-4.0 4.0.2-7
  * base-installer_1.45, gst-ffmpeg
  * seems to be a gnu pr [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23728 23728]

 * boost ICE
  * debian #[http://bugs.debian.org/321486 321486]
  * verify that this is indeed fixed and not worked around in latest boost

 * gij-4.0: dies with sigabrt
  * debian #[http://bugs.debian.org/340874 340874]
  * found in gij-4.0 4.0.2-4

 * Assembler messages: Error: value out of range
  * debian #[http://bugs.debian.org/359281 359281]
  * found in gcc-4.0 4.0.2-3, gcc-4.1 4.1-0exp9
  * pkgs: torcs_1.2.4-1, grace_1:5.1.18-4 ([http://bugs.debian.org/338433 338433]), rscheme_0.7.3.4.b1-2.1
  * works fine with latest binutils and gcc-3.3, but not gcc-4.0.
  * needs a test case and a gcc bug filed.
  * torcs & grace work with -O1 (both gcc-4.1 & gcc-4.0)
  * rscheme works with gcc-4.1 -O2 & gcc-4.0 -O1

== no gcc bug filed yet ==

 * asterisk_1:1.0.9.dfsg-5: segfault
  * found in gcc-4.0 4.0.2-5

 * icu_3.4-4: ICE: in mem_loc_descriptor, at dwarf2out.c:8732
  * found in gcc-4.0 4.0.2-7
  * seems like we've fixed or seen this one before?
  * test against gcc-4.1

== binNMUs ==

 binNMU'ing some packages with maintainer approval

 * make
   * [http://bugs.debian.org/344046 344046]
   * allows quite a few other packages to build

 * aptitude
   * [http://bugs.debian.org/353719 353719]
   * required for base to be installable (d-i)


= gcc-3.4 =

 * fseries_221.10065-1: ICE in verify_initial_elim_offsets
  * found in g77-3.4 3.4.5-2
  * fixed in gfortran-4.0 4.0.2-10
  * working around with -O1
 * [[http://gcc.gnu.org/bugs.html|GCC Bugs]]
== Compiler status ==
 * We don't have an Ada or D compiler at the moment since both compilers require special bootstrapping which has never been done. Michael Casadevall has been been able to build the Ada cross-compiler, but hasn't successfully bootstrapped the native compiler; Thorsten Glaser has discovered that the System'Address type must be coerced into %a0 instead of %d0 by GCC, so the ball is now in the hands of the GCC/GNAT developers
 * D will probably require similar work done for it.
----
CategoryPorts

This page tracks current issues with GCC for M68k/Porting. User support and buildd admins can be found at debian-68k@lists.debian.org .

  • gcc-4.4 with TLS backport is now the default
  • works rather well
  • builds from unmodified Debian unstable sources (thanks doko!)
  • TLS capable eglibc in Debian unstable (thanks Aurélien!)
  • next version will be gcc-4.6 (we will skip gcc-4.5 and it will not be released with wheezy according to doko)
  • gcc-4.3 (and older) have been removed from Debian unstable already (by April 2011)

m68k usertags

binNMUs

Cross-Compilers

  • build a stretch chroot for amd64
  • A metapackage gcc-m68k-linux-gnu (also cpp, g++) is available

  • These are built according to BuildingCrossCompilers

Building Cross-Compilers

obsolete?

The information below is probably mostly obsolete

Bugs

Gathering the bugs in gcc-4.3_4.3.1-8.

ice in find_reloads

  • hdf5
    • found in gcc 4.3.1-8
    • found in cross compiler
    • confirmed in 4.3.4-10+m68k from unreleased (tg@)
    • hit in kernel compile (btrfs) XXX why do we not use CONFIG_FRAME_POINTER?
    • test case

    • gnu pr 37052

    • bug #

testreloads.c:207: error: unable to generate reloads for:
(insn:QI 631 629 632 41 testreloads.c:94 (parallel [
            (set (cc0)
                (compare (reg/v:DI 0 %d0 [orig:117 j ] [117])
                    (reg:DI 4 %d4 [orig:115 pretmp.69 ] [115])))
            (clobber (reg:DI 273))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 273)
        (nil)))
testreloads.c:207: internal compiler error: in find_reloads, at reload.c:3744

related?

  • ffmpeg-debian
    • found in gcc-4.3_4.3.1-2

avidec.c:606: error: unable to generate reloads for:
(insn:QI 1388 1785 1389 174 /build/buildd/ffmpeg-debian-0.svn20080206/libavformat/avidec.c:211 (parallel [
            (set (cc0)
                (compare (reg:DI 10 %a2 [orig:62 pretmp.702 ] [62])
                    (reg:DI 4 %d4 [430])))
            (clobber (reg:DI 431))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 431)
        (nil)))
avidec.c:606: internal compiler error: in find_reloads, at reload.c:3744
  • ffmpeg-free
    • found in gcc-4.3_4.3.0-3

avidec.c:606: error: unable to generate reloads for:
(insn:QI 1388 1785 1389 174 avidec.c:211 (parallel [
            (set (cc0)
                (compare (reg:DI 10 %a2 [orig:62 pretmp.702 ] [62])
                    (reg:DI 4 %d4 [430])))
            (clobber (reg:DI 431))
        ]) 12 {*m68k.md:521} (expr_list:REG_UNUSED (reg:DI 431)
        (nil)))
avidec.c:606: internal compiler error: in find_reloads, at reload.c:3744
  • llvm
    • found in gcc-4.3_4.3.0-3
    • different than above, although same area

InstructionCombining.cpp:9187: error: unable to generate reloads for:
(insn:QI 1193 1192 1194 210 InstructionCombining.cpp:8939 (parallel [
            (set (cc0)
                (compare (reg:DI 0 %d0)
                    (reg:DI 4 %d4 [499])))
            (clobber (reg:DI 501))
        ]) 12 {*m68k.md:521} (expr_list:REG_DEAD (reg:DI 0 %d0)
        (expr_list:REG_UNUSED (reg:DI 501)
            (nil))))
InstructionCombining.cpp:9187: internal compiler error: in find_reloads, at reload.c:3744

ice in reload_cse_simplify_operands

  • r-base
    • found in gcc-4.3_4.3.1-8
    • found in cross-compiler
    • test case

    • gnu pr 37053

    • bug #

postreload.c:886: error: insn does not satisfy its constraints:
(insn 309 2675 2677 36 postreload.c:446 (set (reg:SI 0 %d0)
        (plus:SI (mem/f:SI (reg:SI 8 %a0) [0 S4 A16])
            (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
postreload.c:886: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
  • pymol
    • found in gcc-4.3_4.3.1-8

Selector.c:3225: error: insn does not satisfy its constraints:
(insn 276 502 504 38 layer3/Selector.c:3213 (set (reg:SI 0 %d0)
        (plus:SI (mem/f:SI (reg:SI 8 %a0) [0 S4 A16])
            (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
layer3/Selector.c:3225: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

related?

  • gnudatalanguage
    • found in gcc-4.3_4.3.1-8

{{{convol.cpp:127: error: insn does not satisfy its constraints: (insn 1771 4339 1772 331 convol_inc1.cpp:355 (set (reg:HI 0 %d0 [orig:675+2 ] [675])

  • (mult:HI (mem:HI (reg:SI 9 %a1) [304 S2 A16])
    • (reg:HI 0 %d0 [orig:673+2 ] [673]))) 178 {mulhi3} (nil))

convol.cpp:127: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395 }}}

  • meep
    • found in gcc-4.3_4.3.1-8

{{{../../../src/boundaries.cpp:441: error: insn does not satisfy its constraints: (insn 1749 3315 3317 237 ../../../src/boundaries.cpp:427 (set (reg:SI 6 %d6)

  • (plus:SI (mem/s/f:SI (reg:SI 9 %a1) [68 <variable>.P S4 A8])

    • (reg:SI 6 %d6))) 132 {*addsi3_internal} (nil))

../../../src/boundaries.cpp:441: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions. }}}

  • courier
    • found in gcc-4.3_4.3.0-3
    • utf7.c:229: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

  • gnome-keyring
    • found in gcc-4.3_4.3.1-2
    • gkr-crypto.c:151: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

  • insighttoolkit
    • found in gcc-4.3_4.3.1-8
    • jdsample.c:141: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

  • osptoolkit
    • sptransapi.c:121: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

ice Segmentation fault: Reconfirm with -8

  • gnome-settings-daemon
    • found in gcc-4.3_4.3.0-3
    • gsd-xmodmap.c:397: internal compiler error: Segmentation fault

  • oolite
    • found in gcc-4.3_4.3.1-2
    • PlayerEntity Additions.m:1882: internal compiler error: Segmentation fault

  • opencv
    • found in gcc-4.3_4.3.1-2
    • cvfundam.cpp:311: internal compiler error: Segmentation fault

  • gmfsk
    • internal compiler error: Segmentation fault

  • gpc-4.1
    • rtsc.pas:430: internal compiler error: Segmentation fault

Other

  • simutrans
    • found in gcc-4.3_4.3.1-8
    • route.cc:520: internal compiler error: in subreg_get_info, at rtlanal.c:3185

Reconfirm w/ -8

  • compiz
    • found in gcc-4.3_4.3.0-3
    • decorator.moc.cpp:130: internal compiler error: in value_format, at dwarf2out.c:7015

  • iceowl
    • found in gcc-4.3_4.3.0-3
    • error: asm-specifier for variable ¿result¿ conflicts with asm clobber list

  • linux-2.6
    • found in gcc-4.3
  • genesis
    • found in gcc-4.3_4.3.0-3
    • hines_chip.c:595: internal compiler error: in reg_overlap_mentioned_for_reload_p, at reload.c:6525

  • gforth
    • ./engine.c:340: error: unable to find a register to spill in class ADDR_REGS

  • libgnupdf
    • ccZe2Dva.s:1523: Error: operands mismatch -- statement `rol.w #0,%d2' ignored

  • openvrml
    • Internal error: Killed (program cc1plus)

  • washngo_2.12-1
    • Internal error: Killed (program cc1)

Old glibc vs. gcc-4.3

Per http://lists.debian.org/debian-68k/2008/04/msg00033.html

The glibc support for the C99 inline semantics was added in glibc 2.6 and all the non-TLS support was removed. GCC 4.3 and later use C99 inline semantics in -std=gnu99 mode

This was resolved with -5 (although the first GCC we managed to build was -8). -std=gnu99 mode can now be used without any issue.

gcc-4.x bugs

upstream

Compiler status

  • We don't have an Ada or D compiler at the moment since both compilers require special bootstrapping which has never been done. Michael Casadevall has been been able to build the Ada cross-compiler, but hasn't successfully bootstrapped the native compiler; Thorsten Glaser has discovered that the System'Address type must be coerced into %a0 instead of %d0 by GCC, so the ball is now in the hands of the GCC/GNAT developers
  • D will probably require similar work done for it.


CategoryPorts