Opened 14 years ago
Last modified 6 years ago
#26635 assigned defect
yap, yap-devel: universal variant fails to build
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | yap, yap-devel |
Description
Trying to install yap @6.0.5_1 +universal fails to build.
:info:build /usr/bin/gcc-4.2 -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -Wstrict-aliasing=2 -dynamiclib -Wl,-install_name,/opt/local/lib/libYap.dylib -o libYap.dylib agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o globals.o gmp_support.o gprof.o grow.o heapgc.o index.o init.o inlines.o iopreds.o depth_bound.o mavar.o myddas_mysql.o myddas_odbc.o myddas_shared.o myddas_initialization.o myddas_util.o myddas_statistics.o myddas_top_level.o myddas_wkb2prolog.o modules.o other.o parser.o readutil.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o rtree.o rtree_udi.o unify.o userpreds.o utilpreds.o write.o yap2swi.o ypsocks.o ypstdio.o load_foreign.o load_dl.o load_dld.o load_dyld.o load_none.o load_aout.o load_aix.o load_dll.o load_shl.o c_interface.o clause_list.o opt.memory.o opt.init.o opt.preds.o or.engine.o or.cowengine.o or.sbaengine.o or.threadengine.o or.scheduler.o or.cut.o tab.tries.o tab.completion.o eamamasm.o eam_showcode.o eamindex.o eam_am.o -lgmp -lreadline -lncurses -ltermcap -lstdc++ -lm -framework JavaVM -L/opt/local/lib -arch x86_64 -arch i386 -L/opt/local/lib -L/opt/local/lib :info:build ld: warning: in udi.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: in rtree.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: in rtree_udi.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: in c_interface.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: in clause_list.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols: :info:build "_YAP_IsBigNumTerm", referenced from: :info:build _PL_get_int64 in yap2swi.o :info:build "_YAP_HeadOfTerm", referenced from: :info:build _PL_get_head in yap2swi.o :info:build __PL_get_arg in yap2swi.o :info:build _PL_get_arg in yap2swi.o :info:build _PL_is_string in yap2swi.o :info:build _PL_get_chars in yap2swi.o [snip]
Trying to install yap-devel @6.0.7_0 +universal succeeds, but not all files installed are universal.
$ lipo -info /opt/local/bin/yap /opt/local/lib/yap/cgi.dylib Architectures in the fat file: /opt/local/bin/yap are: x86_64 i386 Non-fat file: /opt/local/lib/yap/cgi.dylib is architecture: x86_64
Change History (3)
comment:1 Changed 14 years ago by pmoura (Paulo Moura)
comment:2 Changed 10 years ago by jmroot (Joshua Root)
Owner: | changed from pmoura@… to pmoura@… |
---|
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Owner: | pmoura deleted |
---|---|
Status: | new → assigned |
See #58428.
Note: See
TracTickets for help on using
tickets.
For the "yap-devel" port, I have submitted an updated patch file that fixes a number of issues, including turning off the universal variant. Please see #26567.