Changes between Initial Version and Version 2 of Ticket #57673


Ignore:
Timestamp:
Nov 25, 2018, 3:47:57 PM (5 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Replying to pmetzger:

This works under current Xcode.

No doubt! But apparently the version of ld on Snow Leopard is too old to know about -export_dynamic. (I was mistaken earlier when I thought it was due to the old compiler because I saw /usr/bin/gcc-4.2 on the line, but -Wl,-export_dynamic means "pass -export_dynamic to the linker", so it's actually the old linker that's causing the problem.)

Ideally, the configure script should first check whether the linker understands a flag before trying to use it. That's the purpose of configure scripts: to determine the capabilities of the system and not make assumptions. Looking at configure.ac, it's unconditionally using -Wl,-export_dynamic on macOS.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57673 – Description

    initial v2  
    1 [https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/56474/steps/install-port/logs/stdio claws-mail fails to configure with gcc-4.2]:
     1[https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/56474/steps/install-port/logs/stdio claws-mail fails to configure on Snow Leopard]:
    22
    33{{{