From: Karel Miklav on
Petr Holub wrote:
> ... maybe because I have lang/gnat already installed?

I don't know at the moment about this. Maybe you could try and help me a
little?

> And why do we need gnat-gcc34 anyway?

I figured out you must have some other GNAT installed, and that caused
the GCC configure to break. I have problems maintaining the existing
framework, so I choose to use a known compiler for bootstrapping and
that's gnat-gcc34.

I'll send you patches after I reproduce the error.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Karel Miklav on
Boris Samorodov wrote:
> Both ports tested at tinderbox for 4,5,6,7 FreeBSD versions. All tests
> were a success. Thanks!

Hey, Boris! Thank you very, very much.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Petr Holub" on
Hi Karel,

> if you still have interest in building gnat-gcc41 please
> try the attached ports. It is no longer possible to use
> your own GNAT for bootstrapping; the procedure starts
> with downloading binary version of GNAT 3.15p, which
> builds 3.4, which builds 4.1. You may not like that
> very much, but I'd like you to know that my priority
> is simplicity and stability and that I am grateful for
> your reports which helped me in that direction.

understood. The gnat builds fine on my box - thanks a lot.
You can find output of 'make check' below - it looks there's
something incorrect here as it gets frozen in the middle of
the tests. According to ps, the problematic test is probably
the "c94002f" one. The system is i386 6.2-RC1.

BTW - why is gnat-gcc34 dependent on perl, while
gnat-gcc41 is dependent on libiconv? Is this correct?

I think we should also modify the dependent ports like
gtkada and xmlada (I need to resurrect this one...) to
support both gnat 2005 and gnat-gcc41. Further I should
upgrade gtkada to 2.8.0 and probably we should upgrade
florist and asis and create compatible port for glade and maybe
add aws port (nice to have for building web services in
Ada easily).

Best regards and thanks again,
Petr

================================================================
Petr Holub
CESNET z.s.p.o. Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZ Masaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ
e-mail: Petr.Holub(a)cesnet.cz phone: +420-549493944
fax: +420-541212747
e-mail: hopet(a)ics.muni.cz




cd /usr/ports/lang/gnat-gcc41/work/build; export RUNTESTFLAGS='--target_board ''
unix{-pthread}'''; gmake -sk check
gmake[2]: autogen: Command not found
gmake[2]: *** [check] Error 127
gmake[1]: *** [check-fixincludes] Error 2
Making a new config file...
WARNING: Couldn't find the global config file.
Test Run By toor on Mon Dec 11 02:36:46 2006
Native configuration is i386-portbld-freebsd6.2

=== gcc tests ===

Schedule of variations:
unix/-pthread

Running target unix/-pthread
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for tar
get.
Using /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/config/defa
ult.exp as tool-and-target-specific interface file.
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/compile/compile.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/g
cc.c-torture/execute/builtins/builtins.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/conversion.c execution, -O0
FAIL: gcc.c-torture/execute/conversion.c execution, -O1
FAIL: gcc.c-torture/execute/conversion.c execution, -O2
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/execute/ieee/ieee.exp ...
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution, -O3 -fomit-frame-pointe
r
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution, -O3 -fomit-frame-pointe
r -funroll-loops
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution, -O3 -fomit-frame-pointe
r -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution, -O3 -g
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution, -Os
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O0
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O1
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O2
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O3 -fomit-frame-pointe
r
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O3 -fomit-frame-pointe
r -funroll-loops
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O3 -fomit-frame-pointe
r -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -O3 -g
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution, -Os
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/unsorted/unsorted.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/ch
arset/charset.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/co
mpat/compat.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/co
mpat/struct-layout-1.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/cp
p/cpp.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/cp
p/trad/trad.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/de
bug/debug.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/de
bug/dwarf2/dwarf2.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/dg
..exp ...
FAIL: gcc.dg/builtins-20.c (test for excess errors)
FAIL: gcc.dg/wint_t-1.c (test for excess errors)
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/fo
rmat/format.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/ip
a/ipa.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/no
ncompile/noncompile.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/pc
h/pch.exp ...
FAIL: largefile.c -O0 -g (test for excess errors)
FAIL: largefile.c -O0 (test for excess errors)
FAIL: largefile.c -O1 (test for excess errors)
FAIL: largefile.c -O2 (test for excess errors)
FAIL: largefile.c -O3 -fomit-frame-pointer (test for excess errors)
FAIL: largefile.c -O3 -g (test for excess errors)
FAIL: largefile.c -Os (test for excess errors)
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/sp
ecial/mips-abi.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/sp
ecial/special.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/tl
s/tls.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/to
rture/dg-torture.exp ...
FAIL: gcc.dg/torture/builtin-convert-1.c -O1 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c -O2 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c -O3 -fomit-frame-pointer (test for ex
cess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c -O3 -g (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c -Os (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c -O1 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c -O2 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c -O3 -fomit-frame-pointer (test for ex
cess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c -O3 -g (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c -Os (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c -O1 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c -O2 (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c -O3 -fomit-frame-pointer (test for ex
cess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c -O3 -g (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c -Os (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c -O0 (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c -O1 (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c -O2 (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c -O3 -fomit-frame-pointer (test for exce
ss errors)
FAIL: gcc.dg/torture/builtin-power-1.c -O3 -g (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c -Os (test for excess errors)
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/tr
ee-prof/tree-prof.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/tr
ee-ssa/tree-ssa.exp ...
XPASS: gcc.dg/tree-ssa/20040204-1.c scan-tree-dump-times link_error 0
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/ve
ct/vect.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/vm
x/vmx.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/we
ak/weak.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/acker1.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/arm-isr.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/bprob.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/dhry.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/gcov.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/i386-prefetch.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/linkage.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/matrix1.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/mg-2.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/mg.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/options.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/sieve.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.misc-
tests/sort2.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/alpha/alpha.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/arm/arm.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/cris/cris.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/cris/torture/cris-torture.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/frv/frv.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/i386/i386.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/ia64/ia64.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/mips/mips.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/powerpc/powerpc.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/sparc/sparc.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/x86_64/abi/abi-x86_64.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.targe
t/xstormy16/xstormy16.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.test-
framework/test-framework.exp ...
skipping test framework tests, CHECK_TEST_FRAMEWORK is not defined

=== gcc Summary ===

# of expected passes 38790
# of unexpected failures 46
# of unexpected successes 1
# of expected failures 100
# of untested testcases 35
# of unsupported tests 274
/usr/ports/lang/gnat-gcc41/work/build/gcc/xgcc version 4.1.2 20061201 (prerelea
se)

=== acats configuration ===
target gcc is /usr/ports/lang/gnat-gcc41/work/build/gcc/xgcc -B/usr/ports/lang/g
nat-gcc41/work/build/gcc/
Reading specs from /usr/ports/lang/gnat-gcc41/work/build/gcc/specs Target: i386-
portbld-freebsd6.2 Configured with: ./..//gcc-4.1-20061201/configure --enable-la
nguages=c,ada --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local
--program-suffix=41 --bindir=/usr/local/bin/gcc41 --libdir=/usr/local/lib/gcc/i
386-portbld-freebsd6.2/4.1.2 --infodir=/usr/local/info/gcc41 --prefix=/usr/local
i386-portbld-freebsd6.2 Thread model: posix gcc version 4.1.2 20061201 (prerele
ase)
host=
target=i386-portbld-freebsd6.2
gnatmake is /usr/ports/lang/gnat-gcc41/work/build/gcc/gnatmake

=== acats support ===
Generating support files... done.
Compiling support files... done.

=== acats tests ===
Running chapter a ...
Running chapter c2 ...
Running chapter c3 ...
Running chapter c4 ...
FAIL: c460007
FAIL: c4a011a
Running chapter c5 ...
Running chapter c6 ...
Running chapter c7 ...
Running chapter c8 ...
Running chapter c9 ...

(it freezes here, no further output, not CPU time consumed)

$ ps ax | grep gnat
16976 p2 I+ 0:04,87 /bin/sh
/usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/ada/acats/run_all
..sh
59787 p2 S+ 0:00,00
/usr/ports/lang/gnat-gcc41/work/build/gcc/testsuite/ada/acats/tests/c9/c94002f/c
94002f
80419 p2 I+ 0:00,00 /bin/sh -ec cd /usr/ports/lang/gnat-gcc41/work/build;
export RUNTESTFLAGS='--target_board ''unix{

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Petr Holub" on
> BTW - why is gnat-gcc34 dependent on perl, while
> gnat-gcc41 is dependent on libiconv? Is this correct?

Another issue - why is gnatmem not being built on FreeBSD?
I have it in GNAT/GPL on Linux and it works fine - is it
somehow strongly platform-dependent?

Petr

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Karel Miklav on
Petr,

GNAT/GPL and GNAT/GCC are two different products. I made
gnat-gcc* ports as an experimental alternative to the gnat
port (GNAT 2005/GPL). They are not meant to be complete or
supported neither they are expected to pass all the tests.
These are actually not the problems of the porting process
but development of the GCC itself, so I suggest you find
more on their mailing lists.

> BTW - why is gnat-gcc34 dependent on perl, while
> gnat-gcc41 is dependent on libiconv? Is this correct?

Perl dependency is probably inherited from the gnat port,
I do not remember ATM. I'll take a look at this, but you
could also try to prove it yourself and post the results
here. Libiconv is part of the GCC 4.1 build process,
don't ask me about the details :)

> I think we should also modify the dependent ports like
> gtkada and xmlada (I need to resurrect this one...) to
> support both gnat 2005 and gnat-gcc41. Further I should
> upgrade gtkada to 2.8.0 and probably we should upgrade
> florist and asis and create compatible port for glade and
> maybe add aws port (nice to have for building web
> services in Ada easily).

I admire your enthusiasm. Please take a look at Martin
Krischik's site at http://ada.krischik.com/index.php and
bring back the subject on comp.lang.ada.

--

Regards,
Karel Miklav

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"