http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59382

            Bug ID: 59382
           Summary: gnatmake is not able to compile libraries on ARM
                    (native)
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel at zhukoff dot net

Created attachment 31376
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31376&action=edit
suggested patch

gnatmake is not able to build libraries (both static or dynamic) on arm
platform natively.

gcc-gnat-4.8.2-2.fc20.armv7hl

# gnatmake -P testso.gpr -f
testso.gpr:4:22: warning: libraries are not supported on this platform
gcc -c -I- -gnatA /root/testsolib/test.adb

== testso.gpr == 

library project testso is 
for source_dirs use (".");
for library_kind use "relocatable";
for Library_Name use "noname";
for Library_Dir use "lib/";
end testso;

== test.ad? == 
any package; 


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/4.8.2/lto-wrapper
Target: armv7hl-redhat-linux-gnueabi
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-isl=/home/max/rpm/BUILD/gcc-4.8.2-20131017/obj-armv7hl-redhat-linux-gnueabi/isl-install
--with-cloog=/home/max/rpm/BUILD/gcc-4.8.2-20131017/obj-armv7hl-redhat-linux-gnueabi/cloog-install
--disable-sjlj-exceptions --with-cpu=cortex-a8 --with-tune=cortex-a8
--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16
--with-abi=aapcs-linux --build=armv7hl-redhat-linux-gnueabi
Thread model: posix
gcc version 4.8.2 20131017 (Red Hat 4.8.2-2) (GCC) 

# gnatmake --version
GNATMAKE 4.8.2 20131017 (Red Hat 4.8.2-2)
Copyright (C) 1995-2013, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Reply via email to