Re: Increasing minimum 'i386' processor
Matthias Klose writes: > On 11/19/2011 11:42 PM, Ben Hutchings wrote: >> The i386 architecture was the first in Linux and in Debian, but we have >> long since dropped support for the original i386-compatible processors >> and now require a minimum of a 486-class processor. >> >> I think it is time to increase the minimum requirement to 586-class, if >> not for wheezy then immediately after. > > note that squeeze is built this way, and single packages like openjdk only > build > for 586. > >> (Later it should be increased >> further, and eventually i386 should be reduced to a partial architecture >> that may be installed on amd64 systems.) This would allow the use of >> optimisations and new instructions throughout userland that improve >> performance for the vast majority of users. > > could you give numbers what kind of improvements you would expect? The > biggest > burden for i386 is the register pressure, which you won't fix with targeting a > newer processor. The better approach would be a new port, the x32 > architecture; > I don't know if anybody did look into building a distribution for this > architecture yet. The next thing could be to default to sse2 math instead of > x87 (didn't look if this is already the default for x32). > > Matthias Where the relevant patches added to binutils and gcc for this? MfG Goswin -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87obw3w2uc.fsf@frosties.localnet
Bug#633479: ICE: gcc-4.6: ICE on armhf with oss4-4.2-build2004-1
tag 633479 + patch user debian-...@lists.debian.org usertags 633479 + eabi usertags 633479 + armhf thanks Hello, On Sun, Jul 10, 2011 at 08:17:46PM +0300, Konstantinos Margaritis wrote: > Package: gcc-4.6 > Version: 4.6.1-2 > Severity: important > > Hi, > > gcc fails with an ICE on package oss4 on armhf: > > http://buildd.debian-ports.org/status/fetch.php?pkg=oss4&arch=armhf&ver=4.2-build2004-1&stamp=1310086627 > > Attached is the smallest trimmed down file that is able to reproduce the ICE: > > $ gcc-4.6 -O ossplay_decode_pre.new.c -c -o ossplay_decode_pre.o > ossplay_decode_pre.new.c: In function ‘decode_amplify’: > ossplay_decode_pre.new.c:148:1: internal compiler error: in > get_arm_condition_code, at config/arm/arm.c:17152 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. I have backported fix for PR49030 from upstream trunk to gcc-4.6 Debian package. (Note the backport fails to apply on gcc-4.5), let me know if it is worth to port it. I have built a compiler for armel and armhf successfully which has lead me to successful builds for oss4 on armhf: => dpkg-genchanges >../oss4_4.2-build2005-1_armhf.changes I am currently building mksh on armhf and it does not seem to show the ICE. Please consider adding this fix for PR49030 on next upload. Cheers, -- Héctor Orón diff -u gcc-4.6-4.6.2/debian/rules.patch gcc-4.6-4.6.2/debian/rules.patch --- gcc-4.6-4.6.2/debian/rules.patch +++ gcc-4.6-4.6.2/debian/rules.patch @@ -85,6 +85,7 @@ libffi-powerpc-sf \ libffi-powerpc-sysv-without-string-ops \ arm-dynamic-linker \ + pr49030 \ # $(if $(filter yes, $(DEB_CROSS)),,gcc-print-file-name) \ # libstdc++-nothumb-check \ diff -u gcc-4.6-4.6.2/debian/changelog gcc-4.6-4.6.2/debian/changelog --- gcc-4.6-4.6.2/debian/changelog +++ gcc-4.6-4.6.2/debian/changelog @@ -1,3 +1,9 @@ +gcc-4.6 (4.6.2-5+armhf.1) unstable; urgency=low + + * Fix PR target/49030. + + -- Hector Oron Wed, 23 Nov 2011 00:02:17 + + gcc-4.6 (4.6.2-5) unstable; urgency=low * Update to SVN 2021 (r181596) from the gcc-4_6-branch. only in patch2: unchanged: --- gcc-4.6-4.6.2.orig/debian/patches/pr49030.diff +++ gcc-4.6-4.6.2/debian/patches/pr49030.diff @@ -0,0 +1,197 @@ +# DP: Fix GCC ICE + +gcc/ + PR target/49030 + * config/arm/arm-protos.h (maybe_get_arm_condition_code): Declare. + * config/arm/arm.c (maybe_get_arm_condition_code): New function, + reusing the old code from get_arm_condition_code. Return ARM_NV + for invalid comparison codes. + (get_arm_condition_code): Redefine in terms of + maybe_get_arm_condition_code. + * config/arm/predicates.md (arm_comparison_operator): Use + maybe_get_arm_condition_code. + +gcc/testsuite/ + PR target/49030 + * gcc.dg/torture/pr49030.c: New test. + PR target/49030 + * gcc.dg/torture/pr49030.c: Run only if target int32plus. + +--- a/src/gcc/config/arm/arm.c 2011-11-22 23:17:59.405162471 + b/src/gcc/config/arm/arm.c 2011-11-22 23:28:36.321162194 + +@@ -17022,10 +17022,10 @@ +decremented/zeroed by arm_asm_output_opcode as the insns are output. */ + + /* Returns the index of the ARM condition code string in +- `arm_condition_codes'. COMPARISON should be an rtx like +- `(eq (...) (...))'. */ +-static enum arm_cond_code +-get_arm_condition_code (rtx comparison) ++ `arm_condition_codes', or ARM_NV if the comparison is invalid. ++ COMPARISON should be an rtx like `(eq (...) (...))'. */ ++enum arm_cond_code ++maybe_get_arm_condition_code (rtx comparison) + { + enum machine_mode mode = GET_MODE (XEXP (comparison, 0)); + enum arm_cond_code code; +@@ -17049,11 +17049,11 @@ + case CC_DLTUmode: code = ARM_CC; + + dominance: +- gcc_assert (comp_code == EQ || comp_code == NE); +- + if (comp_code == EQ) + return ARM_INVERSE_CONDITION_CODE (code); +- return code; ++ if (comp_code == NE) ++ return code; ++ return ARM_NV; + + case CC_NOOVmode: + switch (comp_code) +@@ -17062,7 +17062,7 @@ + case EQ: return ARM_EQ; + case GE: return ARM_PL; + case LT: return ARM_MI; +- default: gcc_unreachable (); ++ default: return ARM_NV; + } + + case CC_Zmode: +@@ -17070,7 +17070,7 @@ + { + case NE: return ARM_NE; + case EQ: return ARM_EQ; +- default: gcc_unreachable (); ++ default: return ARM_NV; + } + + case CC_Nmode: +@@ -17078,7 +17078,7 @@ + { + case NE: return ARM_MI; + case EQ: return ARM_PL; +- default: gcc_unreachable (); ++ default: return ARM_NV; + } + + case CCFPEmode: +@@ -17103,7 +17103,7 @@ + /* UNEQ and LTGT do not have a representation. */ + case UNEQ: /* Fall through. */ + case LTGT: /* Fall through. */ +- default: gcc_unreachable (); ++ default: return ARM_NV; + } + + case CC_SWPmode: +@@ -17119,7 +17119,7 @@ + case GTU: return ARM_CC; + case LEU: return ARM_CS; + case LTU: return ARM_HI; +- default: gcc_unreachable (); ++ default: return ARM_NV; + } + + case CC_Cmode: +@@ -17127,7 +17127,7 @@ +
Processed: Re: Bug#633479: ICE: gcc-4.6: ICE on armhf with oss4-4.2-build2004-1
Processing commands for cont...@bugs.debian.org: > tag 633479 + patch Bug #633479 [gcc-4.6] ICE: gcc-4.6: ICE on armel+armhf with mksh, on armhf with oss4-4.2-build2004-1 Added tag(s) patch. > user debian-...@lists.debian.org Setting user to debian-...@lists.debian.org (was zu...@debian.org). > usertags 633479 + eabi Bug#633479: ICE: gcc-4.6: ICE on armel+armhf with mksh, on armhf with oss4-4.2-build2004-1 There were no usertags set. Usertags are now: eabi. > usertags 633479 + armhf Bug#633479: ICE: gcc-4.6: ICE on armel+armhf with mksh, on armhf with oss4-4.2-build2004-1 Usertags were: eabi. Usertags are now: armhf eabi. > thanks Stopping processing here. Please contact me if you need assistance. -- 633479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633479 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.13220482199187.transcr...@bugs.debian.org
Bug#633479: gcc-4.6: ICE: fixed mksh
Hi, Just as quick note, mksh has been built successfully too. -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caodfwegvg4+6cq_kt7p6m7kdihuan6bp7g+wbtegsdlz4os...@mail.gmail.com
Re: Increasing minimum 'i386' processor
[Goswin von Brederlow] > Where the relevant patches added to binutils and gcc for this? See for yourself: http://sites.google.com/site/x32abi/ -- Peter Samuelson | org-tld!p12n!peter | http://p12n.org/ -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2023122412.gf2...@p12n.org
Re: Increasing minimum 'i386' processor
On Wed, 2011-11-23 at 00:44 +0100, Matthias Klose wrote: > On 11/19/2011 11:42 PM, Ben Hutchings wrote: > > The i386 architecture was the first in Linux and in Debian, but we have > > long since dropped support for the original i386-compatible processors > > and now require a minimum of a 486-class processor. > > > > I think it is time to increase the minimum requirement to 586-class, if > > not for wheezy then immediately after. > > note that squeeze is built this way, and single packages like openjdk only > build > for 586. So I was told. I must have missed the discussion of this prior to the change. Somehow it seems to be missing from the release notes too. > > (Later it should be increased > > further, and eventually i386 should be reduced to a partial architecture > > that may be installed on amd64 systems.) This would allow the use of > > optimisations and new instructions throughout userland that improve > > performance for the vast majority of users. > > could you give numbers what kind of improvements you would expect? [...] That I don't know. Ben. -- Ben Hutchings Teamwork is essential - it allows you to blame someone else. signature.asc Description: This is a digitally signed message part
Processing of gcc-4.6_4.6.2-5_kfreebsd-amd64.changes
gcc-4.6_4.6.2-5_kfreebsd-amd64.changes uploaded successfully to localhost along with the files: gcc-4.6-base_4.6.2-5_kfreebsd-amd64.deb libgcc1_4.6.2-5_kfreebsd-amd64.deb libgcc1-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gcc1_4.6.2-5_kfreebsd-amd64.deb lib32gcc1-dbg_4.6.2-5_kfreebsd-amd64.deb libquadmath0_4.6.2-5_kfreebsd-amd64.deb libquadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb lib32quadmath0_4.6.2-5_kfreebsd-amd64.deb lib32quadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb libgomp1_4.6.2-5_kfreebsd-amd64.deb libgomp1-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gomp1_4.6.2-5_kfreebsd-amd64.deb lib32gomp1-dbg_4.6.2-5_kfreebsd-amd64.deb cpp-4.6_4.6.2-5_kfreebsd-amd64.deb fixincludes_4.6.2-5_kfreebsd-amd64.deb libmudflap0-4.6-dev_4.6.2-5_kfreebsd-amd64.deb libmudflap0_4.6.2-5_kfreebsd-amd64.deb libmudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb lib32mudflap0_4.6.2-5_kfreebsd-amd64.deb lib32mudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb gobjc++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gobjc++-4.6_4.6.2-5_kfreebsd-amd64.deb gobjc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gobjc-4.6_4.6.2-5_kfreebsd-amd64.deb libobjc3_4.6.2-5_kfreebsd-amd64.deb libobjc3-dbg_4.6.2-5_kfreebsd-amd64.deb lib32objc3_4.6.2-5_kfreebsd-amd64.deb lib32objc3-dbg_4.6.2-5_kfreebsd-amd64.deb g++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb g++-4.6_4.6.2-5_kfreebsd-amd64.deb libstdc++6_4.6.2-5_kfreebsd-amd64.deb lib32stdc++6_4.6.2-5_kfreebsd-amd64.deb lib32stdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-dev_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-pic_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb libgfortran3_4.6.2-5_kfreebsd-amd64.deb libgfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gfortran3_4.6.2-5_kfreebsd-amd64.deb lib32gfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb gfortran-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gfortran-4.6_4.6.2-5_kfreebsd-amd64.deb gcc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gcc-4.6-plugin-dev_4.6.2-5_kfreebsd-amd64.deb gcc-4.6_4.6.2-5_kfreebsd-amd64.deb Greetings, Your Debian queue daemon (running on host franck.debian.org) -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1rtfl9-000802...@franck.debian.org
gcc-4.6_4.6.2-5_kfreebsd-amd64.changes ACCEPTED into unstable
Accepted: cpp-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/cpp-4.6_4.6.2-5_kfreebsd-amd64.deb fixincludes_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/fixincludes_4.6.2-5_kfreebsd-amd64.deb g++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/g++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb g++-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/g++-4.6_4.6.2-5_kfreebsd-amd64.deb gcc-4.6-base_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gcc-4.6-base_4.6.2-5_kfreebsd-amd64.deb gcc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gcc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gcc-4.6-plugin-dev_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gcc-4.6-plugin-dev_4.6.2-5_kfreebsd-amd64.deb gcc-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gcc-4.6_4.6.2-5_kfreebsd-amd64.deb gfortran-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gfortran-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gfortran-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gfortran-4.6_4.6.2-5_kfreebsd-amd64.deb gobjc++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gobjc++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gobjc++-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gobjc++-4.6_4.6.2-5_kfreebsd-amd64.deb gobjc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gobjc-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb gobjc-4.6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/gobjc-4.6_4.6.2-5_kfreebsd-amd64.deb lib32gcc1-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gcc1-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gcc1_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gcc1_4.6.2-5_kfreebsd-amd64.deb lib32gfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gfortran3_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gfortran3_4.6.2-5_kfreebsd-amd64.deb lib32gomp1-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gomp1-dbg_4.6.2-5_kfreebsd-amd64.deb lib32gomp1_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32gomp1_4.6.2-5_kfreebsd-amd64.deb lib32mudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32mudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb lib32mudflap0_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32mudflap0_4.6.2-5_kfreebsd-amd64.deb lib32objc3-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32objc3-dbg_4.6.2-5_kfreebsd-amd64.deb lib32objc3_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32objc3_4.6.2-5_kfreebsd-amd64.deb lib32quadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32quadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb lib32quadmath0_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32quadmath0_4.6.2-5_kfreebsd-amd64.deb lib32stdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32stdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb lib32stdc++6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/lib32stdc++6_4.6.2-5_kfreebsd-amd64.deb libgcc1-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgcc1-dbg_4.6.2-5_kfreebsd-amd64.deb libgcc1_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgcc1_4.6.2-5_kfreebsd-amd64.deb libgfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgfortran3-dbg_4.6.2-5_kfreebsd-amd64.deb libgfortran3_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgfortran3_4.6.2-5_kfreebsd-amd64.deb libgomp1-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgomp1-dbg_4.6.2-5_kfreebsd-amd64.deb libgomp1_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libgomp1_4.6.2-5_kfreebsd-amd64.deb libmudflap0-4.6-dev_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libmudflap0-4.6-dev_4.6.2-5_kfreebsd-amd64.deb libmudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libmudflap0-dbg_4.6.2-5_kfreebsd-amd64.deb libmudflap0_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libmudflap0_4.6.2-5_kfreebsd-amd64.deb libobjc3-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libobjc3-dbg_4.6.2-5_kfreebsd-amd64.deb libobjc3_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libobjc3_4.6.2-5_kfreebsd-amd64.deb libquadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libquadmath0-dbg_4.6.2-5_kfreebsd-amd64.deb libquadmath0_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libquadmath0_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libstdc++6-4.6-dbg_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-dev_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libstdc++6-4.6-dev_4.6.2-5_kfreebsd-amd64.deb libstdc++6-4.6-pic_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libstdc++6-4.6-pic_4.6.2-5_kfreebsd-amd64.deb libstdc++6_4.6.2-5_kfreebsd-amd64.deb to main/g/gcc-4.6/libstdc++6_4.6.2-5_kfreebsd-amd64.deb Override entries for your package: cpp-4.6_4.6.2-5_kfreebsd-amd64.deb - optional interpreters fixincludes_4.6.2-5_kfreebsd-amd64.deb - optional devel g++-4.6-multilib_4.6.2-5_kfreebsd-amd64.deb - optional devel g++-4.6_4.6.2-5_kfreebsd-amd64.deb - optional devel gcc-4.6-base_4.6.2-5_kfreebsd-amd64.deb - required libs gcc-4.6-multilib_4.6.2-5_kfreebsd-amd