Changes between Initial Version and Version 2 of Ticket #52503


Ignore:
Timestamp:
Oct 4, 2016, 11:14:47 PM (8 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Replying to ken.cunningham.webuse@…:

During configure, autoconf identifies the system as accepting -fPIE, but in fact, 10.4 does not:

configure:19136: checking whether C compiler accepts -fPIE
configure:19155: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -arch i386 -funsigned-char  -fPIE -I/opt/local/include conftest.c >&5
configure:19155: $? = 0
configure:19164: result: yes

libtool: link: /opt/local/bin/gcc-apple-4.2 -pipe -Os -arch i386 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers -Werror=format-security -Werror=init-self -Werror=declaration-after-statement -Werror=missing-include-dirs -Werror=implicit-function-declaration -Werror=pointer-arith -Wl,-headerpad_max_install_names -arch i386 -o make-te make-te.o  -L/opt/local/lib /opt/local/lib/libintl.dylib
ld: -pie can only be used when targeting Mac OS X 10.5 or later

the only solution I can come up with is to pull it out of the Makefiles manually with a reinplace.

Well, it’s checking whether the compiler accepts -fPIE, which it does. The problem is the linker. I think a better fix would be to have the configure script check the linker as well.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52503

    • Property Owner changed from macports-tickets@… to raimue@…
    • Property Keywords tiger added
    • Property Port hexchat added
  • Ticket #52503 – Description

    initial v2  
    2727So I disabled it in config.
    2828
    29 Finally, I added a note about how to download it, until such time as another solution is found to the 'old SSL' library issue on systems < 10.6. This one is just in the notes -- I didn't wrap it up in a <10.6 block or get fancy with it.
     29Finally, I added a note about how to download it, until such time as another solution is found to the 'old SSL' library issue on systems 10.6. This one is just in the notes -- I didn't wrap it up in a <10.6 block or get fancy with it.