Opened 10 years ago

Last modified 9 years ago

#42361 closed defect

Build failure for libjpeg-turbo +universal — at Initial Version

Reported by: nneonneo (Robert Xiao) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libjpeg-turbo mozjpeg

Description

libjpeg-turbo won't build in the +universal variant. The relevant config.log is attached.

configure:13494: checking for nasm configure:13521: result: /opt/local/bin/nasm configure:13534: checking for object file format of host system configure:13608: result: Mach-O64 configure:13616: checking for object file format specifier (NAFLAGS) configure:13631: result: -fmacho64 -DMACHO -Dx86_64 configure:13635: checking whether the assembler (/opt/local/bin/nasm -fmacho64 -DMACHO -Dx86_64) works configure:13646: /opt/local/bin/nasm -fmacho64 -DMACHO -Dx86_64 -o conftest.o conftest.asm configure:13649: $? = 0 configure:13651: result: yes configure:13662: checking whether the linker accepts assembler output configure:13665: /usr/bin/clang -o conftest -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386 conftest.o 1>&5 ld: warning: ignoring file conftest.o, file was built for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture being linked (i386): conftest.o Undefined symbols for architecture i386:

"_main", referenced from:

implicit entry/start for main executable

ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:13668: $? = 1 configure:13675: result: no configure:13677: error: configuration problem: maybe object file format mismatch.

Change History (1)

Changed 10 years ago by nneonneo (Robert Xiao)

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work/libjpeg-turbo-1.3.0-i386/config.log

Note: See TracTickets for help on using tickets.