Bug 193050 - math/p5-Bit-Vector uses base cc for linking, causing build failure when using USE_GCC=yes
Summary: math/p5-Bit-Vector uses base cc for linking, causing build failure when using...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Anton Berezin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-26 22:21 UTC by Justin Hibbits
Modified: 2018-01-11 16:37 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2014-08-26 22:21:11 UTC
Even though I set USE_GCC=yes in make.conf, math/p5-Bit-Vector links using cc.  It compiles all objects using gcc47.  The result is /usr/bin/ld is used for linking, and doesn't understand the relocations generated by gcc47 (R_PPC_TLSGD/R_PPC_TLSLD), which newer binutils (post-2007) understand, so the build ultimately fails.
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2014-08-29 19:38:23 UTC
Over to maintainer
Comment 2 Walter Schwarzenfeld 2018-01-11 16:27:14 UTC
If I try I get a proper error message
===>  p5-Bit-Vector-7.4 Unknown version of GCC specified (USE_GCC=YES).
*** Error code 1

So I think this could closed.
Comment 3 Justin Hibbits freebsd_committer freebsd_triage 2018-01-11 16:37:50 UTC
(In reply to w.schwarzenfeld from comment #2)

It might be case sensitive.

But, yes, I think this can be closed.  I did add the relocations to base binutils back in 2014.