Opened 12 years ago

Closed 5 years ago

#38154 closed defect (wontfix)

libident @0.32: Does not respect build_arch

Reported by: larryv (Lawrence Velázquez) Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libident

Description

The final linker command to assemble libident.0.dylib completely ignores the provided -arch flags. (Build was on an x86_64 system.)

% sudo port build libident supported_archs=i386
[…]
/bin/sh ./libtool --mode=link /usr/bin/clang  -pipe -O2 -Wall -W -arch i386  -L/opt/local/lib -arch i386 -o libident.la -rpath /opt/local/lib  ident.lo id_open.lo id_close.lo id_query.lo id_parse.lo support.lo  
/usr/bin/clang -dynamiclib -undefined dynamic_lookup -o .libs/libident.0.0.0.dylib  .libs/ident.o .libs/id_open.o .libs/id_close.o .libs/id_query.o .libs/id_parse.o .libs/support.o  -L/opt/local/lib -install_name  /opt/local/lib/libident.0.dylib -compatibility_version 1 -current_version 1.0
ld: warning: ld: warning: ignoring file .libs/ident.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/ident.oignoring file .libs/id_open.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/id_open.o

ld: warning: ld: warning: ignoring file .libs/id_close.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/id_close.oignoring file .libs/id_query.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/id_query.o

ld: warning: ld: warning: ignoring file .libs/id_parse.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/id_parse.oignoring file .libs/support.o, file was built for i386 which is not the architecture being linked (x86_64): .libs/support.o

Change History (1)

comment:1 Changed 5 years ago by tobypeterson

Resolution: wontfix
Status: newclosed

no longer relevant, x86_64 is the only arch

Note: See TracTickets for help on using tickets.