public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/25462] New: ./configure : ada couldn't be build (but host-ada works)
@ 2005-12-17 12:21 pluto at agmk dot net
2006-01-09 10:44 ` [Bug other/25462] " pluto at agmk dot net
2006-01-09 12:48 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2005-12-17 12:21 UTC (permalink / raw)
To: gcc-bugs
i've bootstraped gcc41 from an old gcc40 and now trying to rebuild it.
bootrstrapped ada works...
$ gcc -v
Reading specs from /usr/lib/gcc/alpha-pld-linux/4.1.0/specs
Target: alpha-pld-linux
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man
--x-libraries=/usr/X11R6/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-languages=c,ada --enable-c99 --enable-long-long
--disable-multilib --enable-nls --disable-werror --with-gnu-as --with-gnu-ld
--with-demangler-in-ld --with-system-zlib --with-slibdir=/lib --without-x
alpha-pld-linux
Thread model: posix
gcc version 4.1.0 20051206 (prerelease)
$ cat hello_world.adb
with TEXT_IO;
Procedure Hello_world is
begin
Text_io.put("Hello world!");
end;
$ gnatmake hello_world.adb
gnatbind -x hello_world.ali
gnatlink hello_world.ali
<built-in>:0: warning: 'const' attribute directive ignored
<built-in>:0: warning: 'nothrow' attribute directive ignored
(...)
$ ldd ./hello_world
libgnat-4.1.so.1 => /usr/lib/libgnat-4.1.so.1 (0x000002000002c000)
libc.so.6.1 => /lib/tls/libc.so.6.1 (0x0000020000326000)
libm.so.6.1 => /lib/tls/libm.so.6.1 (0x000002000049c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x000002000052a000)
/lib/ld-linux.so.2 (0x0000020000000000)
$ ./hello_world
Hello world!
...but configure reports errors :O
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.17369
+ umask 022
+ cd /home/users/builder2/rpm/BUILD
+ cd gcc-4_1-branch
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ cd obj-alpha-pld-linux
+ ../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
--infodir=/usr/share/info --mandir=/usr/share/man --x-libraries=/usr/X11R6/lib
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-c99
--enable-long-long --disable-multilib --enable-nls --disable-werror
--with-gnu-as --with-gnu-ld --with-demangler-in-ld --with-system-zlib
--with-slibdir=/lib --without-x --enable-cmath alpha-pld-linux
+ CFLAGS=-O2 -mieee CXXFLAGS=-O2 -mieee TEXCONFIG=false
loading cache ./config.cache
checking host system type... alpha-pld-linux-gnu
checking target system type... alpha-pld-linux-gnu
checking build system type... alpha-pld-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -mieee ) works... yes
checking whether the C compiler (gcc -O2 -mieee ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... (cached) gnatbind
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp
--ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,c++,fortran,java,objc,obj-c++,treelang
error: Bad exit status from /var/tmp/rpm-tmp.17369 (%build)
--
Summary: ./configure : ada couldn't be build (but host-ada
works)
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: alpha-linux
GCC host triplet: alpha-linux
GCC target triplet: alpha-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25462
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/25462] ./configure : ada couldn't be build (but host-ada works)
2005-12-17 12:21 [Bug other/25462] New: ./configure : ada couldn't be build (but host-ada works) pluto at agmk dot net
@ 2006-01-09 10:44 ` pluto at agmk dot net
2006-01-09 12:48 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2006-01-09 10:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pluto at agmk dot net 2006-01-09 10:44 -------
configure fails due to flood from gcc.
[conftest.adb]
procedure conftest is begin null; end conftest;
gcc -c conftest.adb
(...)
<built-in>:0: warning: 'const' attribute directive ignored
<built-in>:0: warning: 'nothrow' attribute directive ignored
errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
^^^^ flood to stdout.
if test x"$errors" = x && test -f conftest.$ac_objext; then
^^^^^^^^^^^^^^ and fail here.
acx_cv_cc_gcc_supports_ada=yes
fi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25462
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/25462] ./configure : ada couldn't be build (but host-ada works)
2005-12-17 12:21 [Bug other/25462] New: ./configure : ada couldn't be build (but host-ada works) pluto at agmk dot net
2006-01-09 10:44 ` [Bug other/25462] " pluto at agmk dot net
@ 2006-01-09 12:48 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-09 12:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-09 12:48 -------
*** This bug has been marked as a duplicate of 21952 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25462
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-09 12:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-17 12:21 [Bug other/25462] New: ./configure : ada couldn't be build (but host-ada works) pluto at agmk dot net
2006-01-09 10:44 ` [Bug other/25462] " pluto at agmk dot net
2006-01-09 12:48 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).