Opened 8 years ago
Closed 5 years ago
#54149 closed defect (worksforme)
gcc6 fails to compile because "configure: error: cannot compute sizeof (long long)"
Reported by: | RJVB (René Bertin) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | gcc6 |
Description
Back in february I successfully built port:gcc6 with a tiny patch that makes G++ use libc++ and thus become a proper citizen on OS X 10.9 and later.
Today I wanted to build a slightly improved version and find my builds fail no matter what I try because the bootstrapped gcc compiler (xgcc) chokes on the configure test to determine the sizeof(long long).
Googling the error suggests that this has to do with the presence (or not) of the GNU binutils - which I don't have and didn't have either back in February.
The only seemingly relevant port I updated since then is ld64_latest, but re-activating the version I had back then makes no difference. My patch cannot be the culprit either because it affects only the C++ compiler, which isn't used during the GCC build.
Any ideas?
Attachments (2)
Change History (4)
Changed 8 years ago by RJVB (René Bertin)
Changed 8 years ago by RJVB (René Bertin)
Attachment: | config.log added |
---|
comment:1 Changed 8 years ago by RJVB (René Bertin)
comment:2 Changed 5 years ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
False alarm. I don't understand how, but this was somehow caught be an oversight in my libc++ patch.
https://trac.macports.org/ticket/53605