public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-59853-4-Uf7PRnJ34Q@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59853-4@http.gcc.gnu.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.


  reply	other threads:[~2014-01-17  8:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17  5:50 [Bug ada/59853] New: " sylvain.laperche at gmail dot com
2014-01-17  8:50 ` ebotcazou at gcc dot gnu.org [this message]
2014-01-17 12:53 ` [Bug ada/59853] " sylvain.laperche at gmail dot com
2014-01-17 15:17 ` ebotcazou at gcc dot gnu.org
2014-01-22  7:37 ` charlet at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-59853-4-Uf7PRnJ34Q@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).