[MacPorts] #59807: gdal fails to compile on Snow Leopard

MacPorts noreply at macports.org
Tue Dec 3 16:57:07 UTC 2019


#59807: gdal fails to compile on Snow Leopard
--------------------------+--------------------
 Reporter:  fvaccari      |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.2
 Keywords:  snow leopard  |       Port:  gdal
--------------------------+--------------------
 I've started a brand new installation of MacPorts on a 10.6.8 box, and
 gdal fails to build.

 In my case it was a dependency for gmt4. I then uninstalled all packages
 and tried to install gdal as first package. After all gdal dependencies
 installed properly, the error was still there.


 {{{
 :info:build ld: warning: could not create compact unwind for ___tls_init:
 non-standard register 1 being saved in prolog
 :info:build ld: warning: could not create compact unwind for
 __ZTWL17g_tls_projContext: non-standard register 1 being saved in prolog
 :info:build ld: warning: could not create compact unwind for ___tls_init:
 non-standard register 1 being saved in prolog
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "___cxa_thread_atexit", referenced from:
 :info:build       _GDALOpenEx in libgdal.la-2.o
 :info:build       ___cxx_global_var_init in libgdal.la-2.o
 :info:build       ___cxx_global_var_init.2 in libgdal.la-2.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[1]: *** [libgdal.la] Error 1

 }}}

 Full log attached

-- 
Ticket URL: <https://trac.macports.org/ticket/59807>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list