Bug 160616 - [MAINTAINER] lang/gnat-aux: Implement run-time symbolic traceback support
Summary: [MAINTAINER] lang/gnat-aux: Implement run-time symbolic traceback support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Frederic Culot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-10 11:00 UTC by John Marino
Modified: 2011-09-12 18:20 UTC (History)
0 users

See Also:


Attachments
file.diff (22.89 KB, patch)
2011-09-10 11:00 UTC, John Marino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2011-09-10 11:00:27 UTC
GNAT-AUX does not have run-time symbolic traceback support implemented.  At the very least, it should have been configured to do nothing, but in fact it's built as if native support exists which causes programs requiring this traceback to fail to link.

The provided patch does the following:

1) Rearranges Makefile to allow patches to be applied.  Currently, any patch put in files/ directory will break the build because the wrksrc was redefined to a non-standard location.

2) Properly implements MAKE_JOBS_SAFE. This reduced build time from 30 minutes to 10 minutes on a quad-core development machine

3) Provides an implementation of traceback support that uses /usr/bin/addr2line, and makes the necessary configuration changes to use this implementation.  Incidentally this implementation works for all major BSDs.

PORTREVISION bumped.

Fix: Patch attached with submission follows:
Comment 1 Frederic Culot freebsd_committer freebsd_triage 2011-09-10 19:53:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->culot

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-09-12 18:17:12 UTC
culot       2011-09-12 17:16:58 UTC

  FreeBSD ports repository

  Modified files:
    lang/gnat-aux        Makefile 
  Added files:
    lang/gnat-aux/files  patch-gcc__ada__adaint.c 
                         patch-gcc__ada__g-trasym-bsd.adb 
                         patch-gcc__ada__gccint__Makefile.in 
  Log:
  - Add patches to implement run-time symbolic traceback support
    (without it programs requiring this traceback fail to link)
  - Bump PORTREVISION
  
  PR:             ports/160616
  Submitted by:   John Marino <draco@marino.st> (maintainer)
  
  Revision  Changes    Path
  1.6       +19 -18    ports/lang/gnat-aux/Makefile
  1.1       +279 -0    ports/lang/gnat-aux/files/patch-gcc__ada__adaint.c (new)
  1.1       +153 -0    ports/lang/gnat-aux/files/patch-gcc__ada__g-trasym-bsd.adb (new)
  1.1       +101 -0    ports/lang/gnat-aux/files/patch-gcc__ada__gccint__Makefile.in (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Frederic Culot freebsd_committer freebsd_triage 2011-09-12 18:17:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!