Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52388 - gcc-3.4-r4 has typo that prevent it to compile on ppc64
Summary: gcc-3.4-r4 has typo that prevent it to compile on ppc64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 13:20 UTC by Philippe Trottier (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix a typo that prevents gcc-3.4.0 to compile on ppc64 linux (rs6000_linux64.diff,300 bytes, patch)
2004-05-30 04:04 UTC, Philippe Trottier (RETIRED)
Details | Diff
Typo that prevent ppc64-linux to compile gcc-3.4.0 (rs6000_linux64.diff,299 bytes, patch)
2004-05-30 04:07 UTC, Philippe Trottier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier (RETIRED) gentoo-dev 2004-05-29 13:20:47 UTC
gcc-3.4.0/gcc/config/rs6000/linux64.h +162
-endif
+#endif
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-05-29 18:42:48 UTC
would you mind submitting an actual patch?
Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2004-05-30 04:04:39 UTC
Created attachment 32300 [details, diff]
Fix a typo that prevents gcc-3.4.0 to compile on ppc64 linux
Comment 3 Philippe Trottier (RETIRED) gentoo-dev 2004-05-30 04:06:17 UTC
Comment on attachment 32300 [details, diff]
Fix a typo that prevents gcc-3.4.0 to compile on ppc64 linux

I inverted the 2 files ... bad bad
Comment 4 Philippe Trottier (RETIRED) gentoo-dev 2004-05-30 04:07:30 UTC
Created attachment 32301 [details, diff]
Typo that prevent ppc64-linux to compile gcc-3.4.0
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-05-30 09:01:50 UTC
the patch has been added to r5. give it a whirl
Comment 6 Philippe Trottier (RETIRED) gentoo-dev 2004-05-30 14:06:18 UTC
See this line:
/var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/config/rs6000/linux64.h:157:1: unterminated #ifdef

there is an endif missing, well it is there but without the "#"


============================================
nclude  /var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/genconstants.c -o genconstants.o
In file included from ./tm.h:12,
                 from /var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/genconstants.c:32:
/var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/config/rs6000/linux64.h:157:1: unterminated #ifdef
In file included from /var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/genconstants.c:33:
/var/tmp/portage/gcc-3.4.0-r5/work/gcc-3.4.0/gcc/rtl.h:25: error: syntax error before "struct"
make[2]: *** [genconstants.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.0-r5/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.0-r5/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.0-r5 failed.
!!! Function src_compile, Line 576, Exitcode 2
!!! (no error message)




Comment 7 Philippe Trottier (RETIRED) gentoo-dev 2004-05-31 01:08:12 UTC
Got this patch all right, It should go upstream but this is fixed !
fixed in sys-devel/gcc-3.4.0-r5.
Comment 8 Tom Gall (RETIRED) gentoo-dev 2004-05-31 10:00:30 UTC
and it successfully creates iso images....
Comment 9 Tom Gall (RETIRED) gentoo-dev 2004-05-31 10:01:02 UTC
sigh .. ignore that comment... wrong bug#!!!
Comment 10 Tom Gall (RETIRED) gentoo-dev 2004-05-31 10:06:25 UTC
yup ... 3.4-r5 builds fine ... closing
Comment 11 Tom Gall (RETIRED) gentoo-dev 2004-05-31 10:07:08 UTC
stick a fork in it