tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/gcc12



On 1/4/25 05:40, Adam wrote:
I’m pretty sure that the Darwin/aarch64 patchset only works up to macOS 14 (Sonoma); see [1].

I would be very interested to know if my patchset based upon upstream works, though.

Please see [1] and give the patch some testing.

Thanks a lot.

Cheers,
Brook

I've fixed gcc14 and pushed the changes to wip/gcc14. This one builds for me on Darwin/aarch64 (macOS 15), Darwin/x86_64 (macOS 12), NetBSD/aarch64 (10.99.12), and NetBSD/x86_64 (10.99.12).

If there is no objections, I would like to push the changes to base.

Kind regards,
Adam

wip/gcc14 and wip/gcc12 both failed with the same error on my M1:

ProductName:            macOS
ProductVersion:         15.1.1
BuildVersion:           24B91

package-id: com.apple.pkg.CLTools_Executables
version: 16.1.0.0.1.1729049160
volume: /
location: /
install-time: 1733920357

gmake[2]: Leaving directory '/Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/build/mpc'
mkdir ./gcc
Configuring in ./gcc
configure: creating cache ./config.cache
checking build system type... aarch64-apple-darwin24
checking host system type... aarch64-apple-darwin24
checking target system type... aarch64-apple-darwin24
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default dsymutil was specified... no
checking whether a default assembler was specified... no
checking for aarch64-apple-darwin24-gcc... clang
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 we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for aarch64-apple-darwin24-gnatbind... no
checking for aarch64-apple-darwin24-gnatmake... no
checking whether compiler driver understands Ada and is recent enough... no
checking for aarch64-apple-darwin24-gdc... no
checking whether the D compiler works... no
checking how to run the C++ preprocessor... clang++ -E
checking for grep that handles long lines and -e... /Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/.tools/bin/grep checking for egrep... /Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/.tools/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to run the C preprocessor... clang -E
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of ino_t... 8
checking size of dev_t... 4
checking size of void *... 8
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int64_t underlying type... long long
checking for std::swap in <utility>... yes
checking whether clang++ is affected by placement new aliasing bug... yes
checking whether clang++ supports -W... yes
checking whether clang++ supports -Wall... yes
checking whether clang++ supports -Wnarrowing... yes
checking whether clang++ supports -Wwrite-strings... yes
checking whether clang++ supports -Wcast-qual... yes
checking whether clang supports -Wstrict-prototypes... yes
checking whether clang supports -Wmissing-prototypes... yes
checking whether clang++ supports -Wmissing-format-attribute... yes
checking whether clang++ supports -Wconditionally-supported... yes
checking whether clang++ supports -Woverloaded-virtual... yes
checking whether clang supports -Wold-style-definition... yes
checking whether clang supports -Wc++-compat... yes
checking whether clang++ supports -pedantic -Wlong-long -Wvariadic-macros -Woverlength-strings... yes
checking whether clang supports -fno-exceptions... yes
checking whether clang supports -fno-rtti... yes
checking whether clang supports -fasynchronous-unwind-tables... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for multiarch configuration... auto
configure: WARNING: fixed-point is not supported for this target, ignored
checking whether /Users/bacon/Pkgsrc/pkg/bin/gmake sets $(MAKE)... yes
checking for gawk... /Users/bacon/Pkgsrc/pkg/bin/nawk
checking whether ln -s works... yes
checking whether ln works... yes
checking for aarch64-apple-darwin24-ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c -o bacon -g staff
checking for cmp's capabilities... gnucompare
checking for mktemp... yes
checking for makeinfo... /Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/.tools/bin/makeinfo --split-size=5000000
checking for modern makeinfo... yes
checking for CONTENTS_OUTPUT_LOCATION support in /Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/.tools/bin/makeinfo --split-size=5000000... yes
checking for recent Pod::Man... yes
checking for flex... flex
checking for bison... bison
checking for python3... python3
checking for modern python3... yes
checking for nm... nm
checking for ar... ar
checking for sphinx-build... texinfo
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for iconv.h... yes
checking for fcntl.h... yes
checking for ftw.h... yes
checking for unistd.h... (cached) yes
checking for sys/auxv.h... no
checking for sys/file.h... yes
checking for sys/time.h... yes
checking for sys/mman.h... yes
checking for sys/resource.h... yes
checking for sys/param.h... yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/locking.h... no
checking for direct.h... no
checking for malloc.h... no
checking for langinfo.h... yes
checking for ldfcn.h... no
checking for locale.h... yes
checking for wchar.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking whether byte ordering is bigendian... no
checking how to run the C++ preprocessor... clang++ -E
checking for unordered_map... yes
checking for tr1/unordered_map... no
checking for ext/hash_map... yes
checking dependency style of clang++... gcc3
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for library containing kstat_open... no
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing ldexp... none required
checking for library containing dlopen... none required
checking for inttypes.h... yes
checking for times... yes
checking for clock... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoq... no
checking for popen... yes
checking for sysconf... yes
checking for strsignal... yes
checking for getrusage... yes
checking for nl_langinfo... yes
checking for gettimeofday... yes
checking for mbstowcs... yes
checking for wcswidth... yes
checking for mmap... yes
checking for posix_fallocate... no
checking for setlocale... yes
checking for clearerr_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fflush_unlocked... no
checking for fgetc_unlocked... no
checking for fgets_unlocked... no
checking for fileno_unlocked... yes
checking for fprintf_unlocked... no
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fread_unlocked... no
checking for fwrite_unlocked... no
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking for madvise... yes
checking for mallinfo... no
checking for mallinfo2... no
checking for fstatat... yes
checking for getauxval... no
checking whether mbstowcs works... yes
checking for ssize_t... yes
checking for caddr_t... yes
checking for sighander_t... no
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... no
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for pid_t... yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking whether iconv is compatible with its POSIX signature... yes
checking for LC_MESSAGES... yes
checking for nl_langinfo and CODESET... yes
checking whether basename is declared... no
checking whether strstr is declared... yes
checking whether getenv is declared... yes
checking whether atol is declared... yes
checking whether atoll is declared... yes
checking whether asprintf is declared... yes
checking whether sbrk is declared... yes
checking whether abort is declared... yes
checking whether atof is declared... yes
checking whether getcwd is declared... yes
checking whether getwd is declared... yes
checking whether madvise is declared... yes
checking whether stpcpy is declared... yes
checking whether strnlen is declared... yes
checking whether strsignal is declared... yes
checking whether strverscmp is declared... no
checking whether strtol is declared... yes
checking whether strtoul is declared... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... yes
checking whether setenv is declared... yes
checking whether unsetenv is declared... yes
checking whether errno is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether calloc is declared... yes
checking whether free is declared... yes
checking whether getopt is declared... yes
checking whether clock is declared... yes
checking whether getpagesize is declared... yes
checking whether ffs is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... no
checking whether fgetc_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fileno_unlocked is declared... yes
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether mallinfo is declared... no
checking whether mallinfo2 is declared... no
checking whether ldgetname is declared... no
checking whether times is declared... yes
checking whether sigaltstack is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for F_SETLKW... yes
checking for O_CLOEXEC... yes
checking for fcntl.h... (cached) yes
checking whether O_NONBLOCK is declared... yes
checking for AF_UNIX... yes
checking for AF_INET6... yes
checking for _LK_LOCK... no
checking if mkdir takes one argument... no
*** Configuration aarch64-apple-darwin24 not supported
gmake[1]: *** [Makefile:4650: configure-gcc] Error 1
gmake[1]: Leaving directory '/Users/bacon/Pkgsrc/pkgsrc/wip/gcc14/work/build'
gmake: *** [Makefile:1067: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Users/bacon/Pkgsrc/pkgsrc/wip/gcc14
*** Error code 1


--
Life is a game.  Play hard.  Play fair.  Have fun.


Home | Main Index | Thread Index | Old Index