Opened 13 years ago

Closed 13 years ago

#30857 closed defect (fixed)

Atlast: undefined symbols

Reported by: jovo@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: leopard Cc: Veence (Vincent), sean@…
Port: atlas

Description (last modified by mf2k (Frank Schima))

Atlas 3.9.47 build fails with undefined symbols. Same after port selfupdate, port clean atlas and port upgrade outdated. Similar to but IMO different than tickets #28996 and #29310.

Intel iMac OS X 10.5.8 Macports 2.0.1

:info:build Undefined symbols:
:info:build   "_ATL_wait_tree", referenced from:
:info:build       _ATL_sptgeadd0 in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal0 in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero0 in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttzscal0 in libatlas.a(ATL_spttrscal.o)
:info:build   "_ATL_join_tree", referenced from:
:info:build       _ATL_sptgeadd in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttrscal in libatlas.a(ATL_spttrscal.o)
:info:build   "_ATL_signal_tree", referenced from:
:info:build       _ATL_sptgeadd0 in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal0 in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero0 in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttzscal0 in libatlas.a(ATL_spttrscal.o)
:info:build   "_ATL_thread_free", referenced from:
:info:build       _ATL_sptgeadd in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttrscal in libatlas.a(ATL_spttrscal.o)
:info:build   "_ATL_thread_init", referenced from:
:info:build       _ATL_sptgeadd in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttrscal in libatlas.a(ATL_spttrscal.o)
:info:build   "_ATL_free_tree", referenced from:
:info:build       _ATL_sptgeadd in libatlas.a(ATL_sptgeadd.o)
:info:build       _ATL_sptgescal in libatlas.a(ATL_sptgescal.o)
:info:build       _ATL_sptgezero in libatlas.a(ATL_sptgezero.o)
:info:build       _ATL_spttrscal in libatlas.a(ATL_spttrscal.o)
:info:build ld: symbol(s) not found

More details in the attached main.log

Attachments (2)

main.log (6.6 MB) - added by jovo@… 13 years ago.
main.2.log (10.8 MB) - added by sean@… 13 years ago.

Change History (12)

Changed 13 years ago by jovo@…

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Cc: vince@… added; jameskyle@… removed
Description: modified (diff)
Keywords: leopard added; atlas removed
Owner: changed from macports-tickets@… to jameskyle@…
Port: atlas added

comment:2 Changed 13 years ago by sean@…

Cc: sean@… added

Cc Me!

comment:3 Changed 13 years ago by sean@…

Same for me under Lion 10.7 and 10.7.1. Tried gcc44 and gcc45, and fresh install of MacPorts 2.0.1.

comment:4 Changed 13 years ago by Veence (Vincent)

I know this bug, it is about the pthreads/misc library not being correctly built, so the dylib generation complains about missing symbols. I've committed some changes in r82700, please try again. Note that dynamic libraries generation from the static archive is completely unsupported upstream, so we are on our own here.

comment:5 in reply to:  4 Changed 13 years ago by jovo@…

Replying to vince@…:

I know this bug, it is about the pthreads/misc library not being correctly built, so the dylib generation complains about missing symbols. I've committed some changes in r82700, please try again.

Ah, thanks. Successfully installed atlas now.

Note that dynamic libraries generation from the static archive is completely unsupported upstream, so we are on our own here.

comment:6 Changed 13 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Goed! I close this issue.

comment:7 Changed 13 years ago by sean@…

Resolution: fixed
Status: closedreopened

Still getting the same errors here on 10.7, attached log.

Changed 13 years ago by sean@…

Attachment: main.2.log added

comment:8 Changed 13 years ago by Veence (Vincent)

It seems the patch I thought was only needed for i386 arch is needed by x86_64 also under some circumstances. I've made the modification in r82758. Please update and try again.

comment:9 Changed 13 years ago by sean@…

Works great. Thanks so much for your hard work Vince!

comment:10 Changed 13 years ago by Veence (Vincent)

Resolution: fixed
Status: reopenedclosed

You're welcome. Now, I'm taking a week-end off from Atlas ;) Have fun.

Note: See TracTickets for help on using tickets.