Changes between Initial Version and Version 1 of Ticket #60624, comment 7


Ignore:
Timestamp:
Jun 12, 2020, 2:26:52 AM (4 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60624, comment 7

    initial v1  
    11There is also this stackoverflow post <https://stackoverflow.com/questions/4010069/problem-on-mac-cant-find-a-register-in-class-breg-while-reloading-asm> that looks to be relevant to the specific error.
     2
     3-- edit -- although I don't like their solution. I'd try a newer compiler instead:
     4
     5and indeed, gcc-7 saves the day:
     6{{{
     7$ port -v installed freeimage
     8The following ports are currently installed:
     9  freeimage @3.18.0_0 (active) platform='darwin 8' archs='i386' date='2020-06-11T19:23:02-0700'
     10}}}
     11
     12so we will need to blacklist gcc-4.2 and ilk in the portfile (unless someone really cares to figure out how to make this compile with gcc-4.2, which I most certainly do NOT, as life is short and we all have better things to do than that.).
     13
     14{{{
     15compiler.blacklist-append *gcc-3.* *gcc-4.*
     16}}}
     17
     18and base is broken, so it will automatically call in clang-3.4, which might or might not actually work depending on c++11 ....
     19
     20My patch for base is here <https://trac.macports.org/attachment/ticket/59717/patch-portconfigure-properly-support-less-than-snowleopard.diff> which you can use on your own system if you like (I do).
     21
     22Or try to get JMR, Marcus, and Ryan to see if they will accept it into base.