public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/36562]  New: gnatmake not processing shared library projects
@ 2008-06-18  3:45 chrisp_42 at bigpond dot com
  2008-06-19 21:43 ` [Bug ada/36562] " chrisp_42 at bigpond dot com
  2008-06-26 10:18 ` sam at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: chrisp_42 at bigpond dot com @ 2008-06-18  3:45 UTC (permalink / raw)
  To: gcc-bugs

The changes described in
<http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00607.html> entitled "More code
clean up in mlib-tgt-*" changes/renames a number of files from the form
mlib-tgt-xxxxxx.adb to mlib-tgt-specific-xxxxxx.adb.

However the corresponding changes were not made to gnatlib/configure.ac.
This results in a softlink from mlib-tgt-specific.adb in the tools build
directory to a non-existent file.  When gnatmake is built the default
mlib-tgt-specific.adb file is used.  Any attempt to use the new gnatmake to
build against a library project results in a failure with an error message
stating libraries are not supported on this platform.

The fix is to change all occurrences of mlib-tgt-xxxxx.adb to
mlib-tgt-specific-xxxx.adb in gnatlib/configure.ac and to regenerate
gnatlib/configure.  Additionally two occurrences where not updated in
gcc/ada/Makefile.in (*86 kfreebsd and sh4 linux).

A more interesting question (which I have not explored yet) is why the build
silently ignores the bad symlink, and continues on using a default file from
further down the search list.


-- 
           Summary: gnatmake not processing shared library projects
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chrisp_42 at bigpond dot com


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/36562] gnatmake not processing shared library projects
  2008-06-18  3:45 [Bug ada/36562] New: gnatmake not processing shared library projects chrisp_42 at bigpond dot com
@ 2008-06-19 21:43 ` chrisp_42 at bigpond dot com
  2008-06-26 10:18 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: chrisp_42 at bigpond dot com @ 2008-06-19 21:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chrisp_42 at bigpond dot com  2008-06-19 21:42 -------
Created an attachment (id=15791)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15791&action=view)
patch to fix configuration for ada/36562

Attached is a patch which fixes configuration problem associated with the bug.
This has only been tested on x86_64-linux.


-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/36562] gnatmake not processing shared library projects
  2008-06-18  3:45 [Bug ada/36562] New: gnatmake not processing shared library projects chrisp_42 at bigpond dot com
  2008-06-19 21:43 ` [Bug ada/36562] " chrisp_42 at bigpond dot com
@ 2008-06-26 10:18 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-06-26 10:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sam at gcc dot gnu dot org  2008-06-26 10:17 -------
Fixed in SVN trunk, thanks Chris for the patch.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-26 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-18  3:45 [Bug ada/36562] New: gnatmake not processing shared library projects chrisp_42 at bigpond dot com
2008-06-19 21:43 ` [Bug ada/36562] " chrisp_42 at bigpond dot com
2008-06-26 10:18 ` sam at gcc dot gnu dot org

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).