Summary: | lang/gcc-aux: Ada symbolic trace is broken | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Natacha Porté <natbsd> | ||||
Component: | Individual Port(s) | Assignee: | John Marino <marino> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Flags: | natbsd:
maintainer-feedback?
(marino) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Natacha Porté
2014-11-28 10:19:29 UTC
Auto-assigned to maintainer marino@FreeBSD.org I'd have to fix it a different way. 1) it hardcodes /usr/local -- which can't be assumed 2) it's a freebsd specific issue, netbsd and dragonfly don't suffer from it. Also, only FreeBSD requires new binutils, so it would have to be a freebsd-specific solution, but I have an idea how to fix it. What about using PATH environment variable then? don't worry, i know how to fix it for freebsd. A commit references this bug: Author: marino Date: Fri Nov 28 12:43:04 UTC 2014 New revision: 373563 URL: https://svnweb.freebsd.org/changeset/ports/373563 Log: lang/gcc-aux: Fix symbolic trace on FreeBSD Recent gcc creates debug information in dwarf4 format, something that the base version of addr2line on FreeBSD cannot understand. When the compiler requires binutils from ports to build, then ensure the symbolic tracing code also uses addr2line from the same binutils (which is already available due to RUN_DEPENDS requirements). Since DragonFly 3.6 and lower are no longer officially supported, this change only affects FreeBSD, but it affects all supported releases. The conditional code for DragonFly 3.6 has been removed while here. Reported by: Natacha Porte PR: 195465 Changes: head/lang/gcc-aux/Makefile head/lang/gcc-aux/Makefile.version Thanks for the analysis and suggested fix! I fixed it a different way but the result is the same. John |