[MacPorts] #69092: xz-bootstrap picks llvm-gcc-4.2 instead of gcc-4.2 on Leopard

MacPorts noreply at macports.org
Thu Jan 11 12:50:12 UTC 2024


#69092: xz-bootstrap picks llvm-gcc-4.2 instead of gcc-4.2 on Leopard
-------------------------------------------+--------------------------
 Reporter:  barracuda156                   |      Owner:  (none)
     Type:  defect                         |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  powerpc, leopard, snowleopard  |       Port:  xz-bootstrap
-------------------------------------------+--------------------------
 {{{
 --->  Configuring xz-bootstrap
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5" && ./configure --prefix=/opt/local/libexec
 /xz-bootstrap --disable-dependency-tracking --disable-doc --disable-lzma-
 links --disable-lzmadec --disable-lzmainfo --disable-nls --disable-scripts
 --disable-static --disable-xzdec --without-libiconv-prefix --without-
 libintl-prefix

 XZ Utils 5.4.5

 System type:
 checking build system type... powerpc-apple-darwin9.8.0
 checking host system type... powerpc-apple-darwin9.8.0

 Configure options:
 checking if debugging code should be compiled... no
 checking which encoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
 armthumb arm64 sparc
 checking which decoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
 armthumb arm64 sparc
 checking which match finders to build... hc3 hc4 bt2 bt3 bt4
 checking which integrity checks to build... crc32 crc64 sha256
 checking if external SHA-256 should be used... no
 checking if MicroLZMA support should be built... yes
 checking if .lz (lzip) decompression support should be built... yes
 checking if assembler optimizations should be used... no
 checking if small size is preferred over speed... no
 checking if threading support is wanted... yes, posix
 checking how much RAM to assume if the real amount is unknown... 128 MiB
 checking if sandboxing should be used... maybe (autodetect)

 checking for a shell that conforms to POSIX... /bin/sh

 Initializing Automake:
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether ln -s works... yes
 checking whether make supports the include directive... yes (GNU style)
 checking for gcc... /Developer/usr/bin/llvm-gcc-4.2
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether the compiler supports GNU C... yes
 checking whether /Developer/usr/bin/llvm-gcc-4.2 accepts -g... yes
 checking for /Developer/usr/bin/llvm-gcc-4.2 option to enable C11
 features... unsupported
 checking for /Developer/usr/bin/llvm-gcc-4.2 option to enable C99
 features... -std=gnu99
 checking whether /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 understands -c
 and -o together... yes
 checking dependency style of /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99...
 none
 checking dependency style of /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99...
 none
 checking for stdio.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for strings.h... yes
 checking for sys/stat.h... yes
 checking for sys/types.h... yes
 checking for unistd.h... yes
 checking for wchar.h... yes
 checking for minix/config.h... no
 checking whether it is safe to define __EXTENSIONS__... yes
 checking whether _XOPEN_SOURCE should be defined... no
 checking for a sed that does not truncate output... /usr/bin/sed
 checking how to run the C preprocessor... /Developer/usr/bin/llvm-gcc-4.2
 -std=gnu99 -E
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 options needed to
 detect all undeclared functions... none needed

 POSIX threading support:
 checking whether /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 is Clang... no
 checking whether pthreads work with "-pthread" and "-lpthread"... yes
 checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
 checking whether more special flags are required for pthreads... no
 checking for PTHREAD_PRIO_INHERIT... yes
 checking for library containing clock_gettime... no
 checking for clock_gettime... no
 checking for pthread_condattr_setclock... no
 checking whether CLOCK_MONOTONIC is declared... no

 Initializing Libtool:
 checking how to print strings... printf
 checking for a sed that does not truncate output... (cached) /usr/bin/sed
 checking for fgrep... /usr/bin/grep -F
 checking for ld used by /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99...
 /Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
 checking if the linker (/Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-
 apple-darwin9/4.2.1/ld) is GNU ld... no
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
 checking the name lister (/usr/bin/nm -p) interface... BSD nm
 checking the maximum length of command line arguments... 196608
 checking how to convert powerpc-apple-darwin9.8.0 file names to powerpc-
 apple-darwin9.8.0 format... func_convert_file_noop
 checking how to convert powerpc-apple-darwin9.8.0 file names to toolchain
 format... func_convert_file_noop
 checking for /Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-apple-
 darwin9/4.2.1/ld option to reload object files... -r
 checking for file... file
 checking for objdump... no
 checking how to recognize dependent libraries... pass_all
 checking for dlltool... no
 checking how to associate runtime and link libraries... printf %s\n
 checking for ar... ar
 checking for archiver @FILE support... no
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /usr/bin/nm -p output from /Developer/usr/bin
 /llvm-gcc-4.2 -std=gnu99 object... ok
 checking for sysroot... no
 checking for a working dd... /bin/dd
 checking how to truncate binary pipes... /bin/dd bs=4096 count=1
 checking for mt... no
 checking if : is a manifest tool... no
 checking for dsymutil... dsymutil
 checking for nmedit... nmedit
 checking for lipo... lipo
 checking for otool... otool
 checking for otool64... no
 checking for -single_module linker flag... yes
 checking for -exported_symbols_list linker flag... yes
 checking for -force_load linker flag... ld: unknown option: -force_load
 ld: unknown option: -force_load
 no
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 supports -fno-rtti
 -fno-exceptions... no
 checking for /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 option to produce
 PIC... -fno-common -DPIC
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 PIC flag -fno-
 common -DPIC works... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 static flag -static
 works... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 supports -c -o
 file.o... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 supports -c -o
 file.o... (cached) yes
 checking whether the /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 linker
 (/Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld)
 supports shared libraries... yes
 checking dynamic linker characteristics... darwin9.8.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 checking for windres... no
 checking if library symbol versioning should be used... no

 Initializing gettext:
 checking whether NLS is requested... no
 checking for msgfmt... no
 checking for gmsgfmt... :
 checking for xgettext... no
 checking for msgmerge... no
 checking for ld... /Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-apple-
 darwin9/4.2.1/ld
 checking if the linker (/Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-
 apple-darwin9/4.2.1/ld) is GNU ld... no
 checking for shared library run path origin... done
 checking 32-bit host C ABI... yes
 checking for ELF binary format... no
 checking for the common suffixes of directories in the library search
 path... lib,lib,lib
 checking for CFPreferencesCopyAppValue... yes
 checking for CFLocaleCopyPreferredLanguages... yes
 checking whether to use NLS... no

 System headers and functions:
 checking for fcntl.h... yes
 checking for limits.h... yes
 checking for sys/time.h... yes
 checking for immintrin.h... no
 checking for cpuid.h... no
 checking for _Bool... yes
 checking for stdbool.h that conforms to C99... yes
 checking for uint8_t... yes
 checking for uint16_t... yes
 checking for int32_t... yes
 checking for uint32_t... yes
 checking for int64_t... yes
 checking for uint64_t... yes
 checking for uintptr_t... yes
 checking size of size_t... 8
 checking for struct stat.st_atim.tv_nsec... no
 checking for struct stat.st_atimespec.tv_nsec... yes
 checking for struct stat.st_atimensec... no
 checking for struct stat.st_uatime... no
 checking for struct stat.st_atim.st__tim.tv_nsec... no
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking whether byte ordering is bigendian... universal
 checking if __attribute__((__constructor__)) can be used... yes
 checking for getopt.h... yes
 checking for getopt_long... yes
 checking whether optreset is declared... yes
 checking for futimens... no
 checking for futimes... yes
 checking for posix_fadvise... no
 checking whether program_invocation_name is declared... no
 checking if __builtin_bswap16/32/64 are supported... no
 checking for byteswap.h... no
 checking for sys/endian.h... no
 checking for sys/byteorder.h... no
 checking if unaligned memory access should be used... yes
 checking if unsafe type punning should be used... no
 checking if __builtin_assume_aligned is supported... no
 checking for sys/param.h... yes
 checking how to detect the amount of physical memory... sysctl
 checking for sys/param.h... (cached) yes
 checking how to detect the number of available CPU cores... sysctl
 checking whether mbrtowc and mbstate_t are properly declared... yes
 checking for wcwidth... yes
 checking whether _mm_movemask_epi8 is declared... no
 checking if _mm_clmulepi64_si128 is usable... no
 checking for sys/capsicum.h... no
 checking whether cap_rights_limit is declared... no
 checking for pledge... no

 GCC extensions:
 checking whether the -Werror option is usable... yes
 checking for simple visibility declarations... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wall...
 yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wextra...
 yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wvla... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wc99-c11-compat... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wformat=2... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Winit-
 self... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wmissing-
 include-dirs... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wshift-
 overflow=2... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wstrict-
 overflow=3... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Walloc-
 zero... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wduplicated-cond... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wfloat-
 equal... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wundef...
 yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wshadow...
 yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wpointer-
 arith... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wbad-
 function-cast... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wwrite-
 strings... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wdate-
 time... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wsign-
 conversion... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wfloat-
 conversion... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wlogical-
 op... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Waggregate-return... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wstrict-
 prototypes... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wold-
 style-definition... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wmissing-
 prototypes... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wmissing-
 declarations... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wredundant-decls... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wc99-compat... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wc11-extensions... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wc2x-
 compat... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wc2x-
 extensions... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wpre-c2x-
 compat... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Warray-
 bounds-pointer-arithmetic... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wassign-
 enum... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wconditional-uninitialized... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wdocumentation... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts
 -Wduplicate-enum... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wempty-
 translation-unit... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wflexible-
 array-extensions... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wmissing-
 variable-declarations... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wnewline-
 eof... yes
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wshift-
 sign-overflow... no
 checking if /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 accepts -Wstring-
 conversion... no

 checking that generated files are newer than configure... done
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating po/Makefile.in
 config.status: creating lib/Makefile
 config.status: creating src/Makefile
 config.status: creating src/liblzma/Makefile
 config.status: creating src/liblzma/api/Makefile
 config.status: creating src/xz/Makefile
 config.status: creating src/xzdec/Makefile
 config.status: creating src/lzmainfo/Makefile
 config.status: creating src/scripts/Makefile
 config.status: creating tests/Makefile
 config.status: creating debug/Makefile
 config.status: creating src/scripts/xzdiff
 config.status: creating src/scripts/xzgrep
 config.status: creating src/scripts/xzmore
 config.status: creating src/scripts/xzless
 config.status: creating config.h
 config.status: executing depfiles commands
 config.status: executing libtool commands
 config.status: executing po-directories commands
 config.status: creating po/POTFILES
 config.status: creating po/Makefile
 --->  Building xz-bootstrap
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5" && /usr/bin/make -j6 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5'
 /usr/bin/make  all-recursive
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5'
 Making all in src
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src'
 Making all in liblzma
 make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src/liblzma'
 Making all in api
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src/liblzma/api'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src/liblzma/api'
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src/liblzma'
 /bin/sh ../../libtool  --tag=CC   --mode=compile /Developer/usr/bin/llvm-
 gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../src/liblzma/api
 -I../../src/liblzma/common -I../../src/liblzma/check
 -I../../src/liblzma/lz -I../../src/liblzma/rangecoder
 -I../../src/liblzma/lzma -I../../src/liblzma/delta
 -I../../src/liblzma/simple -I../../src/common -DTUKLIB_SYMBOL_PREFIX=lzma_
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz
 /xz-bootstrap/work/xz-5.4.5/src/liblzma/check -I/opt/local/libexec/xz-
 bootstrap/include -pthread -fvisibility=hidden -Wall -Wextra -Wformat=2
 -Winit-self -Wmissing-include-dirs -Wstrict-overflow=3 -Wfloat-equal
 -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings
 -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-
 prototypes -Wmissing-declarations -Wredundant-decls -Wnewline-eof -pipe
 -Os -arch ppc -arch ppc64 -c -o liblzma_la-tuklib_physmem.lo `test -f
 '../common/tuklib_physmem.c' || echo './'`../common/tuklib_physmem.c
 }}}

 This is arguably wrong, despite the build succeeding. Regular `xz` uses
 gcc-4.2.

 On 10.6 when building for `ppc` it is similar: `xz` uses gcc-4.2, `xz-
 bootstrap` picks `clang`.

-- 
Ticket URL: <https://trac.macports.org/ticket/69092>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list