diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-26 23:15:47 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-26 23:15:47 +0000 |
commit | 8ab92de6bc7a76e1444fd6bdb86dd52e92a3e0e5 (patch) | |
tree | bf688b9da6940b6ed1cf1a188467cae04d828b75 /build.conf | |
parent | 3d3766deb13fbdb18f56ffc23ab254d8c45cd7e0 (diff) | |
download | libapr-8ab92de6bc7a76e1444fd6bdb86dd52e92a3e0e5.tar.gz |
Building PPC and linking on darwin 9 in sequence of _all, _atomic, _(others)
.o images results in the following;
ld: bc out of range (79008 max is +/-64K) from _apr_atomic_add32 in
atomic/unix/.libs/ppc.o to _apr_atomic_add32$stub in .libs/libapr-1.0.dylib
in _apr_atomic_add32 from atomic/unix/.libs/ppc.o
Apparently (and I don't know why we are coupled to the $stub's in the first
place) moving atomic to the end of the code segment places ppc.o in proximity
to the $stub relocations.
Of course this commit may inversely clobber another platform. But not Linux,
at least. Committing before I look for various exceptions to this solution.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@588793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.conf')
-rw-r--r-- | build.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build.conf b/build.conf index 36121883f..c302b98be 100644 --- a/build.conf +++ b/build.conf @@ -13,8 +13,8 @@ paths = # directories that have platform-specific code in them. the resulting # pattern will be: SUBDIR/PLATFORM/*.c platform_dirs = - atomic dso file_io locks memory misc mmap network_io poll random - shmem support threadproc time user + dso file_io locks memory misc mmap network_io poll random + shmem support threadproc time user atomic # all the public headers headers = include/*.h |