apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r588793 - /apr/apr/trunk/build.conf
Date Fri, 26 Oct 2007 23:15:48 GMT
Author: wrowe
Date: Fri Oct 26 16:15:47 2007
New Revision: 588793

URL: http://svn.apache.org/viewvc?rev=588793&view=rev
Log:
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.


Modified:
    apr/apr/trunk/build.conf

Modified: apr/apr/trunk/build.conf
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build.conf?rev=588793&r1=588792&r2=588793&view=diff
==============================================================================
--- apr/apr/trunk/build.conf (original)
+++ apr/apr/trunk/build.conf Fri Oct 26 16:15:47 2007
@@ -13,8 +13,8 @@
 # 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



Mime
View raw message