>
>
> You can run nm on the Subversion object files, e.g:
>
>    nm subversion/libsvn_subr/*.o
>

Aha! Found it!

nm subversion/libsvn_subr/named_atomic.o
subversion/libsvn_subr/named_atomic.o:

[Index]   Value      Size      Type  Bind  Other Shndx   Name

[29]    |         0|         0|SECT |LOCL |0    |17     |
[2]     |         0|         0|SECT |LOCL |0    |2      |
[28]    |         0|         0|SECT |LOCL |0    |16     |
[27]    |         0|         0|SECT |LOCL |0    |14     |
[26]    |         0|         0|SECT |LOCL |0    |15     |
[25]    |         0|         0|SECT |LOCL |0    |13     |
[30]    |         0|         0|SECT |LOCL |0    |18     |
[16]    |         0|         0|SECT |LOCL |0    |7      |
[18]    |         0|         0|SECT |LOCL |0    |8      |
[19]    |         0|         0|SECT |LOCL |0    |9      |
[20]    |         0|         0|SECT |LOCL |0    |10     |
[21]    |         0|         0|SECT |LOCL |0    |11     |
[23]    |         0|         0|SECT |LOCL |0    |12     |
[10]    |         0|         0|SECT |LOCL |0    |3      |
[11]    |         0|         0|SECT |LOCL |0    |4      |
[12]    |         0|         0|SECT |LOCL |0    |5      |
[14]    |         0|         0|SECT |LOCL |0    |6      |
[22]    |         0|         0|NOTY |LOCL |0    |11     |Bbss.bss
[24]    |         0|         0|OBJT |LOCL |0    |12     |Blbss.lbss
[13]    |         0|         0|NOTY |LOCL |0    |5      |Ddata.data
[9]     |         0|         0|OBJT |LOCL |0    |8      |Dldata.ldata
[8]     |         0|         0|OBJT |LOCL |0    |9      |Dlrodata.lrodata
[17]    |         0|         0|NOTY |LOCL |0    |7      |Dpicdata.picdata
[15]    |         0|         0|NOTY |LOCL |0    |6      |Drodata.rodata
[66]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |__sync_add_and_fetch
[64]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |__sync_lock_test_and_set
[68]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |__sync_val_compare_and_swap
[60]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_atomic_read32
[61]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_atomic_set32
[33]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_file_close
[34]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_file_name_get
[35]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_file_remove
[50]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_mmap_create
[39]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_palloc
[43]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |apr_pool_cleanup_null
[44]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |apr_pool_cleanup_register
[51]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_pool_destroy
[40]    |         0|         0|FUNC |GLOB |0    |UNDEF  |apr_pstrcat
[5]     |        64|        81|FUNC |LOCL |0    |2      |delete_lock_file
[54]    |         0|         0|FUNC |GLOB |0    |UNDEF  |dgettext
[3]     |         0|        38|FUNC |LOCL |0    |2      |init_thread_mutex
[7]     |         0|         4|OBJT |LOCL |0    |5      |mutex_initialized
[1]     |         0|         0|FILE |LOCL |0    |ABS    |named_atomic.c
[6]     |       160|        53|FUNC |LOCL |0    |2      |return_atomic
[41]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |svn_atomic__init_once
[57]    |      1056|       105|FUNC |GLOB |0    |2
 |svn_atomic_namespace__cleanup
[38]    |       288|       741|FUNC |GLOB |0    |2
 |svn_atomic_namespace__create
[53]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |svn_error_compose_create
[56]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_error_create
[55]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_error_createf
[42]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_io_file_open
[49]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |svn_io_file_write_full
[46]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |svn_io_lock_open_file
[58]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_io_remove_file2
[48]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_io_stat
[52]    |         0|         0|FUNC |GLOB |0    |UNDEF
 |svn_io_unlock_open_file
[32]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_mutex__init
[45]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_mutex__lock
[47]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_mutex__unlock
[65]    |      2656|       115|FUNC |GLOB |0    |2
 |svn_named_atomic__add
[67]    |      2784|       131|FUNC |GLOB |0    |2
 |svn_named_atomic__cmpxchg
[59]    |      1184|      1245|FUNC |GLOB |0    |2
 |svn_named_atomic__get
[37]    |       256|         6|FUNC |GLOB |0    |2
 |svn_named_atomic__is_efficient
[36]    |       224|         6|FUNC |GLOB |0    |2
 |svn_named_atomic__is_supported
[62]    |      2432|        94|FUNC |GLOB |0    |2
 |svn_named_atomic__read
[63]    |      2528|       115|FUNC |GLOB |0    |2
 |svn_named_atomic__write
[31]    |         0|         0|FUNC |GLOB |0    |UNDEF  |svn_pool_create_ex
[4]     |         4|         4|OBJT |LOCL |0    |5      |thread_mutex

subversion/libsvn_subr/named_atomic.o doesn't exist in 1.9.6 which explains
why that built and 1.8 doesn't..

Still doesn't explain why 1.8.17 built fine on my old Solaris 10 x86 box
did though..

Cheers


> You can run nm on the various libraries to identify which library has
> the references to the __sync symbols:
>
>   nm subversion/libsvn_subr/.libs/libsvn_subr-1.a
>   nm /opt/WANdisco/lib/libssl1.so
>
> --
> Philip
>
-- 
*IAN MORDEY* HEAD OF INFRASTRUCTURE

*wandisco.com* <http://www.wandisco.com/>

-- 


World Leader in Active Data Replication™
*Find out more wandisco.com <http://wandisco.com/>*

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE 
PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, 
("WANdisco") does not waive any confidentiality or privilege. If you are 
not the intended recipient, please notify us immediately and destroy the 
message without disclosing its contents to anyone. Any distribution, use or 
copying of this email or the information it contains by other than an 
intended recipient is unauthorized. The views and opinions expressed in 
this email message are the author's own and may not reflect the views and 
opinions of WANdisco, unless the author is authorized by WANdisco to 
express such views or opinions on its behalf. All email sent to or from 
this address is subject to electronic storage and review by WANdisco. 
Although WANdisco operates anti-virus programs, it does not accept 
responsibility for any damage whatsoever caused by viruses being passed.

Reply via email to