#67300 closed defect (fixed)

blosc uses Intel insns on Rosetta, which breaks the build

Reported by: barracuda156 Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: snowleopard, powerpc, rosetta Cc:
Port: blosc

Description

:info:build [ 93%] Building C object tests/fuzz/CMakeFiles/fuzz_decompress.dir/standalone.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/tests/fuzz && /usr/bin/gcc-4.2  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/c-blosc-1.21.3/blosc -I/opt/local/include -pipe -Os -std=c99 -I/opt/local/include/LegacySupport -DNDEBUG -I/opt/local/include -I/opt/local/include/LegacySupport -std=gnu99 -arch ppc -mmacosx-version-min=10.6 -Wall -Wwrite-strings -Wno-unused-function -msse2 -MD -MT tests/fuzz/CMakeFiles/fuzz_decompress.dir/standalone.c.o -MF CMakeFiles/fuzz_decompress.dir/standalone.c.o.d -o CMakeFiles/fuzz_decompress.dir/standalone.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/c-blosc-1.21.3/tests/fuzz/standalone.c
:info:build /usr/bin/gcc-4.2 -pipe -Os -std=c99 -I/opt/local/include/LegacySupport -DNDEBUG -I/opt/local/include -I/opt/local/include/LegacySupport -std=gnu99 -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport CMakeFiles/test_shuffle_roundtrip_generic.dir/test_shuffle_roundtrip_generic.c.o -o test_shuffle_roundtrip_generic   -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc  -Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc ../blosc/libblosc_testing.dylib /opt/local/lib/liblz4.dylib /opt/local/lib/libz.dylib /opt/local/lib/libzstd.dylib 
:info:build /usr/bin/gcc-4.2 -pipe -Os -std=c99 -I/opt/local/include/LegacySupport -DNDEBUG -I/opt/local/include -I/opt/local/include/LegacySupport -std=gnu99 -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport CMakeFiles/test_nolock.dir/test_nolock.c.o -o test_nolock   -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc  -Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc ../blosc/libblosc_testing.dylib /opt/local/lib/liblz4.dylib /opt/local/lib/libz.dylib /opt/local/lib/libzstd.dylib 
:info:build /usr/bin/gcc-4.2 -pipe -Os -std=c99 -I/opt/local/include/LegacySupport -DNDEBUG -I/opt/local/include -I/opt/local/include/LegacySupport -std=gnu99 -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport CMakeFiles/test_shuffle_roundtrip_sse2.dir/test_shuffle_roundtrip_sse2.c.o -o test_shuffle_roundtrip_sse2   -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc  -Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build/blosc ../blosc/libblosc_testing.dylib /opt/local/lib/liblz4.dylib /opt/local/lib/libz.dylib /opt/local/lib/libzstd.dylib 
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build'
:info:build Undefined symbols:
:info:build   "_blosc_internal_unshuffle_sse2", referenced from:
:info:build       _main in test_shuffle_roundtrip_sse2.c.o
:info:build   "_blosc_internal_shuffle_sse2", referenced from:
:info:build       _main in test_shuffle_roundtrip_sse2.c.o
:info:build       _main in test_shuffle_roundtrip_sse2.c.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build'
:info:build make[2]: *** [tests/test_shuffle_roundtrip_sse2] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_blosc/blosc/work/build'
:info:build make[1]: *** [tests/CMakeFiles/test_shuffle_roundtrip_sse2.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

Attachments (1)

blosc_log.txt (129.9 KB) - added by barracuda156 19 months ago.

Download all attachments as: .zip

Change History (2)

Changed 19 months ago by barracuda156

Attachment: blosc_log.txt added

comment:1 Changed 19 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 59f22a62576ce9e633cbca943aa763034f93c349/macports-ports (master):

blosc: do not use x86 insns on PPC

Fixes: #67300

Note: See TracTickets for help on using tickets.