Changeset 16788 for trunk


Ignore:
Timestamp:
Sep 10, 2016, 10:12:13 PM (3 years ago)
Author:
rme
Message:

Use -no_pie in LDFLAGS.

This avoids the error "ld: illegal text-relocation to '_SPjmpsym' in
x86-spentry64.o from '_spjump_start' in x86-spjump64.o for
architecture x86_64" that was seen when building the lisp kernel with
Xcode 8 tools.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/darwinx8664/Makefile

    r16751 r16788  
    2828### Current ld64 bugs include the claim that 0x1000 isn't a power of 2.
    2929### Gosh.  I always thought that it was.  Go know, right ?
    30 LDFLAGS = -macosx_version_min $(OSVERSION) -arch x86_64 -dynamic \
     30LDFLAGS = -macosx_version_min $(OSVERSION) -arch x86_64 -no_pie \
    3131          -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000
    3232
Note: See TracChangeset for help on using the changeset viewer.