Opened 18 months ago

#67467 new defect

libjxl @0.8.1_1 does not build on PPC Leopard, Mac OS X 10.5.8, because "ld: warning: cannot export hidden symbol _JxlFastLossles* from object files"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: leopard ppc Cc: jmr@…
Port: libjxl

Description

[ 57%] Linking CXX shared library ../libjxl.dylib
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/jxl.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-7 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -fno-rtti -funwind-tables -fno-omit-frame-pointer -DNDEBUG -O2 -arch ppc -mmacosx-version-min=10.5 -dynamiclib -Wl,-headerpad_max_install_names -Wl,-exported_symbols_list,/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/jxl_osx.syms -L/opt/local/lib -Wl,-headerpad_max_install_names -compatibility_version 0.8.0 -current_version 0.8.1 -o ../libjxl.0.8.1.dylib -install_name @rpath/libjxl.0.8.dylib "CMakeFiles/jxl_enc-obj.dir/jxl/butteraugli/butteraugli.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/butteraugli_wrapper.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_ac_strategy.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_adaptive_quantization.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_ans.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_ar_control_field.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_comparator.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_pnorm.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_cache.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_chroma_from_luma.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_cluster.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_coeff_order.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_color_management.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_comparator.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_context_map.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_detect_dots.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_dot_dictionary.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_entropy_coder.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_external_image.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_file.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_frame.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_group.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_heuristics.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_huffman.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_icc_codec.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_image_bundle.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_modular.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_noise.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_patch_dictionary.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_photon_noise.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_quant_weights.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_splines.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_toc.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_transforms.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/enc_xyb.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/encode.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/gaborish.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/huffman_tree.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/jpeg/enc_jpeg_data.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/jpeg/enc_jpeg_data_reader.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/jpeg/enc_jpeg_huffman_decode.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/linalg.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/encoding/enc_debug_tree.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/encoding/enc_encoding.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/encoding/enc_ma.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/transform/enc_palette.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/transform/enc_rct.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/transform/enc_squeeze.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/modular/transform/enc_transform.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/optimize.cc.o" "CMakeFiles/jxl_enc-obj.dir/jxl/progressive_split.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/ac_strategy.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/alpha.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/ans_common.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/base/cache_aligned.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/base/data_parallel.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/base/padded_bytes.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/base/random.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/blending.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/chroma_from_luma.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/coeff_order.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/color_encoding_internal.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/color_management.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/compressed_dc.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/convolve_separable5.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/convolve_separable7.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/convolve_slow.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/convolve_symmetric3.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/convolve_symmetric5.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dct_scales.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_ans.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_cache.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_context_map.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_external_image.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_frame.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_group.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_group_border.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_huffman.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_modular.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_noise.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_patch_dictionary.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/dec_xyb.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/decode.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/enc_bit_writer.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/entropy_coder.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/epf.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/fast_dct.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/fields.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/frame_header.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/gauss_blur.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/headers.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/huffman_table.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/icc_codec.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/icc_codec_common.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/image.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/image_bundle.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/image_metadata.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/loop_filter.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/luminance.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/memory_manager_internal.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/encoding/dec_ma.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/encoding/encoding.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/modular_image.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/rct.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/squeeze.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/transform.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/opsin_params.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/passes_state.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/quant_weights.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/quantizer.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/low_memory_render_pipeline.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/render_pipeline.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/simple_render_pipeline.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_blending.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_chroma_upsampling.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_epf.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_from_linear.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_gaborish.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_noise.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_patches.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_splines.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_spot.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_to_linear.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_tone_mapping.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_upsampling.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_write.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_xyb.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_ycbcr.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/splines.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/toc.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/decode_to_jpeg.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/box_content_decoder.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/dec_jpeg_data.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/dec_jpeg_data_writer.cc.o" "CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o" "../third_party/CMakeFiles/skcms-obj.dir/skcms/skcms.cc.o"  -Wl,-rpath,/opt/local/lib -latomic /opt/local/lib/libhwy.dylib /opt/local/lib/libbrotlidec.dylib /opt/local/lib/libbrotlicommon.dylib /opt/local/lib/libbrotlienc.dylib 
ld: warning: cannot export hidden symbol _JxlFastLosslessOutputSize from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessMaxRequiredOutput from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessPrepareHeader from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessWriteOutput from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessFreeFrameState from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessEncode from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: warning: cannot export hidden symbol _JxlFastLosslessPrepareFrame from CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o
ld: illegal text-relocation to lC14 in CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_pnorm.cc.o from jxl::N_SCALAR::ComputeDistanceP(jxl::Plane<float> const&, jxl::ButteraugliParams const&, double) in CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_pnorm.cc.o for architecture ppc
collect2: error: ld returned 1 exit status
make[2]: *** [libjxl.0.8.1.dylib] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
make[1]: *** [lib/CMakeFiles/jxl.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build" && /usr/bin/make -j1 -w all VERBOSE=ON 
Exit code: 2

Attachments (1)

main.log (365.8 KB) - added by ballapete (Peter "Pete" Dyballa) 18 months ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (1)

Changed 18 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

Note: See TracTickets for help on using tickets.