From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25951 invoked by alias); 17 Jan 2014 08:50:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25915 invoked by uid 48); 17 Jan 2014 08:50:09 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/59853] gnatmake cannot build a library Date: Fri, 17 Jan 2014 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg01810.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59853 Eric Botcazou 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 --- 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.