Successful bootstrap of GCC 4.0.0 on Mac OS 10.4 (all lang but Java)

2005-05-05 Thread Chris Douty
Built compiler:
% /opt/gcc40/bin/gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.0.0
Configured with: /Volumes/Playland/projects/gnu/gcc-stuff/gcc-4.0.0/ 
configure --prefix=/opt/gcc40 --enable-shared --disable-checking -- 
with-mpfr=/opt/local --with-gmp=/opt/local --with-gcc-version- 
trigger=/Volumes/Playland/projects/gnu/gcc-stuff/gcc-4.0.0/gcc/ 
version.c --enable-languages=c,ada,c++,f95,objc
Thread model: posix
gcc version 4.0.0

% ../gcc-4.0.0/config.guess
powerpc-apple-darwin8.0.0
% uname -a
Darwin charon.ampex.com 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26  
14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh  
powerpc

Bootstrap compiler:
% gcc-3.3 -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20040913 (GNAT for Mac OS X build 1650)
% as -v 
Apple Computer, Inc. version cctools-576.obj~23, GNU assembler  
version 1.38

% ld -v 
Test results posted to gcc-testresults.
-Chris
--
Christopher Douty <[EMAIL PROTECTED]> +1-650-367-3129
Senior Engineer, Software & Systems  - AMPEX Data Systems Corp.



Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-19 Thread Chris Douty

Howdy,

My last two attempts to build mainline on darwin8 have failed with a  
bugbox in Ada.


+===GNAT BUG  
DETECTED==+
| 4.1.0 20050819 (experimental) (powerpc-apple-darwin8.3.0) GCC  
error: |
| tree check: expected class expression, have  
exceptional  |
|(constructor) in get_base_var, at ipa-utils.c: 
224 |
| Error detected at a-except.adb: 
1411:4|
| Please submit a bug report; see http://gcc.gnu.org/ 
bugs.html.|
| Use a subject line meaningful to you and us to track the  
bug.|
| Include the entire contents of this bug box in the  
report.   |
| Include the exact gcc or gnatmake command that you  
entered.  |
| Also include sources listed below in gnatchop  
format |
| (concatenated together with no headers between  
files).   |
+=== 
===+


Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380
make[2]: *** [ada/a-except.o] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2


Previously I got this:

+===GNAT BUG  
DETECTED==+
| 4.1.0 20050817 (experimental) (powerpc-apple-darwin8.3.0) Bus  
error  |
| Error detected at a-except.adb: 
1411:4|
| Please submit a bug report; see http://gcc.gnu.org/ 
bugs.html.|
| Use a subject line meaningful to you and us to track the  
bug.|
| Include the entire contents of this bug box in the  
report.   |
| Include the exact gcc or gnatmake command that you  
entered.  |
| Also include sources listed below in gnatchop  
format |
| (concatenated together with no headers between  
files).   |
+=== 
===+


Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380
make[2]: *** [ada/a-except.o] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2


Clearly the same error, but different message.

I am bootstrapping with gcc 4.0.0.  This is the configure line:
/Volumes/Playland/projects/gnu/gcc-stuff/gcc-HEAD/configure --prefix=/ 
opt/gcc410 --enable-shared \
 --with-mpfr=/opt/local --with-gmp=/opt/local --enable- 
languages=c,ada,c++,f95,objc


Thanks,
Chris

--
Christopher Douty <[EMAIL PROTECTED]> +1-650-367-3129
Senior Engineer, Software & Systems  - AMPEX Data Systems Corp.




Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-17 Thread Chris Douty

On Jan 16, 2006, at 11:48 PM, Laurent GUERBY wrote:


Hi, you've provided me with ACATS testing results on powerpc-darwin in
the past, we currently don't know the state of Ada on the GCC 4.1  
branch

for powerpc-darwin as of 20060117:

http://gcc.gnu.org/ml/gcc/2006-01/msg00578.html
http://gcc.gnu.org/ml/gcc/2006-01/msg00581.html

So if you have some time to try a bootstrap cycle with Ada on the 4.1
branch and report problems or results to our mailing lists we would be
grateful. A 4.1 release is planned for the coming weeks.

Thanks in advance for your help,

Laurent


Bootstrap fails for me on powerpc-darwin8 (Mac OS X 10.4.4) with a  
linking error in the rts.  It doesn't seem to be picking up the  
correct libgcc_s.dylib (or libgcceh.a?).


I have the latest Xcode 2.2 tools installed, but the bootstrap  
compiler is a FSF gcc 4.0.0 with Ada enabled.  I used this as the  
configuration:
../gcc-4_1-branch/configure   --prefix=/opt/test --enable-shared -- 
with-mpfr=/opt/local --with-gmp=/opt/local --enable-languages=c,ada


===make bootstrap===
touch ../stamp-gnatlib
rm -f rts/libgnat.dylib rts/libgnarl.dylib
cd rts; ../../xgcc -B../../ -dynamiclib -Wa,-force_cpusubtype_ALL - 
pipe \

-o libgnat-4.1.dylib \
	a-caldel.o a-calend.o a-cdlili.o a-cgaaso.o a-cgarso.o a-cgcaso.o a- 
chacon.o a-chahan.o a-charac.o a-chlat1.o a-chlat9.o a-chtgke.o a- 
chtgop.o a-chzla1.o a-chzla9.o a-cidlli.o a-cihama.o a-cihase.o a- 
ciorma.o a-ciormu.o a-ciorse.o a-cohama.o a-cohase.o a-cohata.o a- 
coinve.o a-colien.o a-colire.o a-comlin.o a-contai.o a-convec.o a- 
coorma.o a-coormu.o a-coorse.o a-coprnu.o a-crbltr.o a-crbtgk.o a- 
crbtgo.o a-cwila1.o a-cwila9.o a-decima.o a-diocst.o a-direct.o a- 
direio.o a-dirval.o a-einuoc.o a-elchha.o a-except.o a-exctra.o a- 
filico.o a-finali.o a-flteio.o a-fwteio.o a-inteio.o a-ioexce.o a- 
iwteio.o a-lfteio.o a-lfwtio.o a-lfztio.o a-liteio.o a-liwtio.o a- 
liztio.o a-llftio.o a-llfwti.o a-llfzti.o a-llitio.o a-lliwti.o a- 
llizti.o a-ncelfu.o a-ngcefu.o a-ngcoty.o a-ngelfu.o a-nlcefu.o a- 
nlcoty.o a-nlelfu.o a-nllcef.o a-nllcty.o a-nllefu.o a-nscefu.o a- 
nscoty.o a-nselfu.o a-nucoty.o a-nudira.o a-nuelfu.o a-nuflra.o a- 
numaux.o a-numeri.o a-rbtgso.o a-secain.o a-sequio.o a-sfteio.o a- 
sfwtio.o a-sfztio.o a-shcain.o a-siocst.o a-siteio.o a-siwtio.o a- 
siztio.o a-slcain.o a-ssicst.o a-ssitio.o a-ssiwti.o a-ssizti.o a- 
stmaco.o a-storio.o a-strbou.o a-stream.o a-strfix.o a-strhas.o a- 
string.o a-strmap.o a-strsea.o a-strsup.o a-strunb.o a-ststio.o a- 
stunau.o a-stunha.o a-stwibo.o a-stwifi.o a-stwiha.o a-stwima.o a- 
stwise.o a-stwisu.o a-stwiun.o a-stzbou.o a-stzfix.o a-stzhas.o a- 
stzmap.o a-stzsea.o a-stzsup.o a-stzunb.o a-suteio.o a-swmwco.o a- 
swunau.o a-swuwha.o a-swuwti.o a-szmzco.o a-szunau.o a-szuzha.o a- 
szuzti.o a-tags.o a-tgdico.o a-teioed.o a-textio.o a-ticoau.o a- 
ticoio.o a-tideau.o a-tideio.o a-tienau.o a-tienio.o a-tifiio.o a- 
tiflau.o a-tiflio.o a-tigeau.o a-tiinau.o a-tiinio.o a-timoau.o a- 
timoio.o a-tiocst.o a-titest.o a-tiunio.o a-unccon.o a-uncdea.o a- 
wichun.o a-widcha.o a-witeio.o a-wtcoau.o a-wtcoio.o a-wtcstr.o a- 
wtdeau.o a-wtdeio.o a-wtedit.o a-wtenau.o a-wtenio.o a-wtfiio.o a- 
wtflau.o a-wtflio.o a-wtgeau.o a-wtinau.o a-wtinio.o a-wtmoau.o a- 
wtmoio.o a-wttest.o a-wwunio.o a-zchara.o a-zchuni.o a-ztcoau.o a- 
ztcoio.o a-ztcstr.o a-ztdeau.o a-ztdeio.o a-ztedit.o a-ztenau.o a- 
ztenio.o a-ztexio.o a-ztfiio.o a-ztflau.o a-ztflio.o a-ztgeau.o a- 
ztinau.o a-ztinio.o a-ztmoau.o a-ztmoio.o a-zttest.o a-zzunio.o ada.o  
calendar.o g-arrspl.o g-awk.o g-bubsor.o g-busora.o g-busorg.o g- 
calend.o g-casuti.o g-catiio.o g-cgi.o g-cgicoo.o g-cgideb.o g- 
comlin.o g-comver.o g-crc32.o g-ctrl_c.o g-curexc.o g-debuti.o g- 
debpoo.o g-diopit.o g-dirope.o g-dyntab.o g-dynhta.o g-except.o g- 
excact.o g-exctra.o g-expect.o g-flocon.o g-heasor.o g-hesora.o g- 
hesorg.o g-htable.o g-io.o g-io_aux.o g-locfil.o g-md5.o g-memdum.o g- 
moreex.o g-os_lib.o g-pehage.o g-regexp.o g-regpat.o g-sestin.o g- 
soccon.o g-socket.o g-socthi.o g-soliop.o g-souinf.o g-speche.o g- 
spipat.o g-spitbo.o g-sptabo.o g-sptain.o g-sptavs.o g-string.o g- 
strspl.o g-table.o g-tasloc.o g-traceb.o g-utf_32.o g-wistsp.o g- 
zstspl.o gnat.o i-c.o i-cexten.o i-cobol.o i-cpoint.o i-cpp.o i- 
cstrea.o i-cstrin.o i-fortra.o i-pacdec.o interfac.o ioexcept.o  
machcode.o s-addima.o s-addope.o s-arit64.o s-assert.o s-atacco.o s- 
auxdec.o s-bitops.o s-boarop.o s-carsi8.o s-carun8.o s-casi16.o s- 
casi32.o s-casi64.o s-casuti.o s-caun16.o s-caun32.o s-caun64.o s- 
chepoo.o s-crtl.o s-crc32.o s-direio.o s-errrep.o s-exctab.o s- 
exnint.o s-exnllf.o s-exnlli.o s-expint.o s-explli.o s-expllu.o s- 
expmod.o s-expuns.o s-fatflt.o s-fatgen.o s-fatlfl.o s-fatllf.o s- 
fatsfl.o s-ficobl.o s-fileio.o s-filofl.o s-fishfl.o s-finimp.o s- 
finroo.o s-fore.o s-fvadfl.o s-fvaffl.o s-fvagfl.o s-geveop.o s- 
htable.o s-imgbiu.o s-imgboo.o s-imgcha.o s-imgdec.o s-imgenu.o s- 
imgint.o s-imgllb.o s-img

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-18 Thread Chris Douty

On Jan 18, 2006, at 6:23 AM, Andrew Pinski wrote:

On Jan 18, 2006, at 6:16 AM, Eric Botcazou wrote:



OK, I can reproduce the failure.

Darwin specialists, what are we missing here?


Well it would be helpful if the reporter reran the link line with - 
v so

people can see what is being linked.  All I know it is not picking up
libgcc_s.1.dylib or picking up the wrong one.

I don't have access to 10.4.x to test with but I can test later  
tonight on

10.3.9 which might (but I doubt it) expose the issue.


I think what is happening, although I don't know why, is that the  
static libgcc.a is being linked so that the eh functions are not  
present.


Cheers,
Chris

===make all===
touch ../stamp-gnatlib
rm -f rts/libgnat.dylib rts/libgnarl.dylib
cd rts; ../../xgcc -v -B../../ -dynamiclib -Wa,-force_cpusubtype_ALL - 
pipe \

-o libgnat-4.1.dylib \
	a-caldel.o a-calend.o a-cdlili.o a-cgaaso.o a-cgarso.o a-cgcaso.o a- 
chacon.o a-chahan.o a-charac.o a-chlat1.o a-chlat9.o a-chtgke.o a- 
chtgop.o a-chzla1.o a-chzla9.o a-cidlli.o a-cihama.o a-cihase.o a- 
ciorma.o a-ciormu.o a-ciorse.o a-cohama.o a-cohase.o a-cohata.o a- 
coinve.o a-colien.o a-colire.o a-comlin.o a-contai.o a-convec.o a- 
coorma.o a-coormu.o a-coorse.o a-coprnu.o a-crbltr.o a-crbtgk.o a- 
crbtgo.o a-cwila1.o a-cwila9.o a-decima.o a-diocst.o a-direct.o a- 
direio.o a-dirval.o a-einuoc.o a-elchha.o a-except.o a-exctra.o a- 
filico.o a-finali.o a-flteio.o a-fwteio.o a-inteio.o a-ioexce.o a- 
iwteio.o a-lfteio.o a-lfwtio.o a-lfztio.o a-liteio.o a-liwtio.o a- 
liztio.o a-llftio.o a-llfwti.o a-llfzti.o a-llitio.o a-lliwti.o a- 
llizti.o a-ncelfu.o a-ngcefu.o a-ngcoty.o a-ngelfu.o a-nlcefu.o a- 
nlcoty.o a-nlelfu.o a-nllcef.o a-nllcty.o a-nllefu.o a-nscefu.o a- 
nscoty.o a-nselfu.o a-nucoty.o a-nudira.o a-nuelfu.o a-nuflra.o a- 
numaux.o a-numeri.o a-rbtgso.o a-secain.o a-sequio.o a-sfteio.o a- 
sfwtio.o a-sfztio.o a-shcain.o a-siocst.o a-siteio.o a-siwtio.o a- 
siztio.o a-slcain.o a-ssicst.o a-ssitio.o a-ssiwti.o a-ssizti.o a- 
stmaco.o a-storio.o a-strbou.o a-stream.o a-strfix.o a-strhas.o a- 
string.o a-strmap.o a-strsea.o a-strsup.o a-strunb.o a-ststio.o a- 
stunau.o a-stunha.o a-stwibo.o a-stwifi.o a-stwiha.o a-stwima.o a- 
stwise.o a-stwisu.o a-stwiun.o a-stzbou.o a-stzfix.o a-stzhas.o a- 
stzmap.o a-stzsea.o a-stzsup.o a-stzunb.o a-suteio.o a-swmwco.o a- 
swunau.o a-swuwha.o a-swuwti.o a-szmzco.o a-szunau.o a-szuzha.o a- 
szuzti.o a-tags.o a-tgdico.o a-teioed.o a-textio.o a-ticoau.o a- 
ticoio.o a-tideau.o a-tideio.o a-tienau.o a-tienio.o a-tifiio.o a- 
tiflau.o a-tiflio.o a-tigeau.o a-tiinau.o a-tiinio.o a-timoau.o a- 
timoio.o a-tiocst.o a-titest.o a-tiunio.o a-unccon.o a-uncdea.o a- 
wichun.o a-widcha.o a-witeio.o a-wtcoau.o a-wtcoio.o a-wtcstr.o a- 
wtdeau.o a-wtdeio.o a-wtedit.o a-wtenau.o a-wtenio.o a-wtfiio.o a- 
wtflau.o a-wtflio.o a-wtgeau.o a-wtinau.o a-wtinio.o a-wtmoau.o a- 
wtmoio.o a-wttest.o a-wwunio.o a-zchara.o a-zchuni.o a-ztcoau.o a- 
ztcoio.o a-ztcstr.o a-ztdeau.o a-ztdeio.o a-ztedit.o a-ztenau.o a- 
ztenio.o a-ztexio.o a-ztfiio.o a-ztflau.o a-ztflio.o a-ztgeau.o a- 
ztinau.o a-ztinio.o a-ztmoau.o a-ztmoio.o a-zttest.o a-zzunio.o ada.o  
calendar.o g-arrspl.o g-awk.o g-bubsor.o g-busora.o g-busorg.o g- 
calend.o g-casuti.o g-catiio.o g-cgi.o g-cgicoo.o g-cgideb.o g- 
comlin.o g-comver.o g-crc32.o g-ctrl_c.o g-curexc.o g-debuti.o g- 
debpoo.o g-diopit.o g-dirope.o g-dyntab.o g-dynhta.o g-except.o g- 
excact.o g-exctra.o g-expect.o g-flocon.o g-heasor.o g-hesora.o g- 
hesorg.o g-htable.o g-io.o g-io_aux.o g-locfil.o g-md5.o g-memdum.o g- 
moreex.o g-os_lib.o g-pehage.o g-regexp.o g-regpat.o g-sestin.o g- 
soccon.o g-socket.o g-socthi.o g-soliop.o g-souinf.o g-speche.o g- 
spipat.o g-spitbo.o g-sptabo.o g-sptain.o g-sptavs.o g-string.o g- 
strspl.o g-table.o g-tasloc.o g-traceb.o g-utf_32.o g-wistsp.o g- 
zstspl.o gnat.o i-c.o i-cexten.o i-cobol.o i-cpoint.o i-cpp.o i- 
cstrea.o i-cstrin.o i-fortra.o i-pacdec.o interfac.o ioexcept.o  
machcode.o s-addima.o s-addope.o s-arit64.o s-assert.o s-atacco.o s- 
auxdec.o s-bitops.o s-boarop.o s-carsi8.o s-carun8.o s-casi16.o s- 
casi32.o s-casi64.o s-casuti.o s-caun16.o s-caun32.o s-caun64.o s- 
chepoo.o s-crtl.o s-crc32.o s-direio.o s-errrep.o s-exctab.o s- 
exnint.o s-exnllf.o s-exnlli.o s-expint.o s-explli.o s-expllu.o s- 
expmod.o s-expuns.o s-fatflt.o s-fatgen.o s-fatlfl.o s-fatllf.o s- 
fatsfl.o s-ficobl.o s-fileio.o s-filofl.o s-fishfl.o s-finimp.o s- 
finroo.o s-fore.o s-fvadfl.o s-fvaffl.o s-fvagfl.o s-geveop.o s- 
htable.o s-imgbiu.o s-imgboo.o s-imgcha.o s-imgdec.o s-imgenu.o s- 
imgint.o s-imgllb.o s-imglld.o s-imglli.o s-imgllu.o s-imgllw.o s- 
imgrea.o s-imguns.o s-imgwch.o s-imgwiu.o s-io.o s-gloloc.o s- 
maccod.o s-mantis.o s-mastop.o s-osprim.o s-pack03.o s-pack05.o s- 
pack06.o s-pack07.o s-pack09.o s-pack10.o s-pack11.o s-pack12.o s- 
pack13.o s-pack14.o s-pack15.o s-pack17.o s-pack18.o s-pack19.o s- 
pack20.o s-pack21.o s-pack22.o s-pack23.o s-pack24.o