This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/59853] gnatmake cannot build a library
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jan 2014 08:50:09 +0000
- Subject: [Bug ada/59853] gnatmake cannot build a library
- Auto-submitted: auto-generated
- References: <bug-59853-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59853
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-01-17
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
This works fine here:
eric@polaris:~> gnatmake -v -Phello
Parsing project file "hello".
8 lines: No errors
Parsing of project file "hello" is finished.
Adding source directory "/home/eric/src/".
Adding object directory "/home/eric/obj/".
Adding "hello.adb" as if on the command line
GNATMAKE 4.8.3 20140111 (prerelease) [gcc-4_8-branch revision 206552]
Copyright (C) 1995-2013, Free Software Foundation, Inc.
Changing to object directory of "Hello": "/home/eric/obj/"
Library file does not exist for project "hello"
Main source file: "hello.adb".
TMPDIR = "/tmp"
Created configuration file "/tmp/GNAT-TEMP-000001.TMP"
"hello.ali" being checked ...
-> "hello.ali" missing.
gcc -c -I- -gnatA /home/eric/src/hello.adb
End of compilation
building static library for project hello
object files:
/home/eric/obj/hello.o
ALI files:
/home/eric/obj/hello.ali
building a library...
make hello
found /home/eric/install/gcc-4_8-branch//bin/ar
found /home/eric/install/gcc-4_8-branch//bin/ranlib
could not delete /home/eric/lib/libhello.a
ar cr /home/eric/lib/libhello.a /home/eric/obj/hello.o
ranlib /home/eric/lib/libhello.a
Copying "/home/eric/obj/hello.ali" to "/home/eric/lib/"
eric@polaris:~> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/eric/install/gcc-4_8-branch/lib/gcc/x86_64-suse-linux/4.8.3/lto-wrapper
Target: x86_64-suse-linux
Configured with: /home/eric/svn/gcc-4_8-branch/configure
--build=x86_64-suse-linux --prefix=/home/eric/install/gcc-4_8-branch
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-__cxa_atexit
--disable-nls --disable-libmudflap
Thread model: posix
gcc version 4.8.3 20140111 (prerelease) [gcc-4_8-branch revision 206552] (GCC)
eric@polaris:~> cat hello.gpr
project Hello is
for Library_Name use "hello";
for Languages use ("Ada");
for Source_Dirs use ("src");
for Library_Dir use "lib";
for Object_Dir use "obj";
for Library_Kind use "static";
end Hello;
Try to configure the compiler with --disable-nls.