#65771 closed defect (fixed)

aolserver ignores Macports arch flags and fails on Rosetta: file was built for unsupported file format which is not the architecture being linked (ppc)

Reported by: barracuda156 Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: aolserver

Description

:info:build ranlib libnsthread.a
:info:build /usr/bin/gcc-4.2 -dynamiclib -install_name /opt/local/aolserver/lib/libnsthread.dylib -init __NsThreads_LibInit -pipe -Os  -pipe    -o libnsthread.dylib error.o master.o memory.o mutex.o cslock.o rwlock.o reentrant.o sema.o thread.o tls.o compat.o time.o pthread.o fork.o signal.o nsthread_libinit.o \
:info:build 	 -L/opt/local/lib -ltcl8.6  -lz  -lpthread -framework CoreFoundation  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc  
:info:build ld: warning: in error.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in master.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in memory.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in mutex.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in cslock.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in rwlock.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in reentrant.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in sema.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in thread.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in tls.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in compat.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in time.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in pthread.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in fork.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in signal.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in nsthread_libinit.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build Undefined symbols:
:info:build   "__NsThreads_LibInit", referenced from:
:info:build      -init command line option
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build gmake[1]: *** [../include/ns.mak:200: libnsthread.dylib] Error 1

Attachments (1)

aolserver.log (79.6 KB) - added by barracuda156 20 months ago.

Download all attachments as: .zip

Change History (2)

Changed 20 months ago by barracuda156

Attachment: aolserver.log added

comment:1 Changed 15 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In d17f198e7004b2863797444f51f25a110b2553c6/macports-ports (master):

aolserver: fix for omitted arch flags, marginal update to latest commit
Fixes: #65771

Note: See TracTickets for help on using tickets.