This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/25462] New: ./configure : ada couldn't be build (but host-ada works)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]