[RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13
Cedric Berger
cedric at precidata.com
Mon Dec 4 08:18:30 UTC 2023
Hello,
On 28.11.2023 05:12, Chris Johns wrote:
>> -https://libisl.sourceforge.io/isl-0.26.tar.gz
> This does not build on my M2 with Sonoma and the latest Xcode. Something about a
> missing constructor.
This is so weird, it should make no difference with my system.
Full build log below.
Cedric
Cedrics-MBP:X cedric$ ls -lsa
total 6784
0 drwxr-xr-x 3 cedric staff 96 Dec 4 09:15 .
0 drwxr-x---+ 157 cedric staff 5024 Dec 2 16:50 ..
6784 -rw-r--r-- 1 cedric staff 2902641 Apr 2 2023 isl-0.26.tar.gz
Cedrics-MBP:X cedric$ uname -a
Darwin Cedrics-MBP 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9
21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64
Cedrics-MBP:X cedric$ gcc --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Cedrics-MBP:X cedric$ tar zxf isl-0.26.tar.gz
Cedrics-MBP:X cedric$ cd isl-0.26
Cedrics-MBP:isl-0.26 cedric$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ././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 make supports nested variables... (cached) yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... aarch64-apple-darwin23.1.0
checking for aarch64-apple-darwin23.1.0-gcc... no
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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 how to run the C preprocessor... gcc -E
checking for C compiler vendor... clang
checking host system type... aarch64-apple-darwin23.1.0
checking for a sed that does not truncate output... /usr/bin/sed
checking whether C compiler accepts -g -O2... yes
checking whether the compiler supports function
__attribute__((__warn_unused_result__))... yes
checking for __attribute__... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether g++ -std=c++11 supports C++17 features by default... no
checking whether g++ -std=c++11 supports C++17 features with
-std=gnu++17... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... rm:
conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin23.1.0 file names to
aarch64-apple-darwin23.1.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23.1.0 file names to
toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to
reload object files... -r
checking for objdump... objdump
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... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... rm:
conftest.dSYM: is a directory
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... ld: warning: -single_module
is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/Library/Developer/CommandLineTools/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin23.1.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... yes
checking how to run the C++ preprocessor... g++ -std=c++11 -std=gnu++17 -E
checking for ld used by g++ -std=c++11 -std=gnu++17...
/Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld)
is GNU ld... no
checking whether the g++ -std=c++11 -std=gnu++17 linker
(/Library/Developer/CommandLineTools/usr/bin/ld) supports shared
libraries... yes
checking for g++ -std=c++11 -std=gnu++17 option to produce PIC...
-fno-common -DPIC
checking if g++ -std=c++11 -std=gnu++17 PIC flag -fno-common -DPIC
works... yes
checking if g++ -std=c++11 -std=gnu++17 static flag -static works... no
checking if g++ -std=c++11 -std=gnu++17 supports -c -o file.o... yes
checking if g++ -std=c++11 -std=gnu++17 supports -c -o file.o...
(cached) yes
checking whether the g++ -std=c++11 -std=gnu++17 linker
(/Library/Developer/CommandLineTools/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin23.1.0 dyld
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for a Python interpreter with version >= 3.6... python
checking for python... /opt/homebrew/bin/python
checking for python version... 3.11
checking for python platform... darwin
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for cygpath... no
checking for perl... perl
checking for pdflatex... no
checking for pod2html... pod2html
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in include/isl/stdint.h (assuming C99 compatible
system)
checking for gcc options needed to detect all undeclared functions...
none needed
checking which gmp to use... system
checking for gmp.h... yes
checking for main in -lgmp... yes
checking whether mp_get_memory_functions is declared... yes
checking whether ffs is declared... yes
checking whether __builtin_ffs is declared... no
checking whether _BitScanForward is declared... no
checking whether strcasecmp is declared... yes
checking whether strncasecmp is declared... yes
checking whether _stricmp is declared... no
checking whether _strnicmp is declared... no
checking whether snprintf is declared... yes
checking whether _snprintf is declared... no
checking which clang to use... no
checking for C compiler vendor... (cached) clang
checking our pkgconfig libname... isl
checking our pkgconfig version... 0.26
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/local/lib/pkgconfig
checking our pkgconfig_libfile... isl.pc
checking our package / suffix... isl /
checking our pkgconfig description... isl Library
checking our pkgconfig requires...
checking our pkgconfig ext libs... -lisl -lgmp
checking our pkgconfig cppflags...
checking our pkgconfig ldflags...
noninstalled pkgconfig -L /Users/cedric/X/isl-0.26/.libs
noninstalled pkgconfig -I /Users/cedric/X/isl-0.26/./include
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating isl_srcdir.c
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bound_test.sh
config.status: creating codegen_test.sh
config.status: creating pip_test.sh
config.status: creating flow_test.sh
config.status: creating schedule_test.sh
config.status: creating isl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include/isl/stdint.h commands
config.status: creating include/isl/stdint.h : _ISL_INCLUDE_ISL_STDINT_H
config.status: executing isl.pc commands
config.status: creating isl.pc.in
config.status: creating isl.pc
config.status: creating isl-uninstalled.pc
config.status: creating isl-uninstalled.sh
Cedrics-MBP:isl-0.26 cedric$ make
GEN gitversion.h
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in .
CC isl_test.o
CC isl_gmp.lo
CC isl_val_gmp.lo
CC isl_aff.lo
CC isl_aff_map.lo
CC isl_affine_hull.lo
CC isl_arg.lo
CC isl_ast.lo
CC isl_ast_build.lo
CC isl_ast_build_expr.lo
CC isl_ast_codegen.lo
CC isl_ast_graft.lo
CC basis_reduction_tab.lo
CC isl_bernstein.lo
CC isl_blk.lo
CC isl_bound.lo
CC isl_box.lo
CC isl_coalesce.lo
CC isl_constraint.lo
CC isl_convex_hull.lo
CC isl_ctx.lo
CC isl_deprecated.lo
CC isl_dim_map.lo
CC isl_equalities.lo
CC isl_factorization.lo
CC isl_farkas.lo
CC isl_ffs.lo
CC isl_flow.lo
CC isl_fold.lo
CC isl_hash.lo
CC isl_id_to_ast_expr.lo
CC isl_id_to_id.lo
CC isl_id_to_pw_aff.lo
CC isl_ilp.lo
CC isl_input.lo
CC isl_local.lo
CC isl_local_space.lo
CC isl_lp.lo
CC isl_map.lo
CC isl_map_list.lo
CC isl_map_simplify.lo
CC isl_map_subtract.lo
CC isl_map_to_basic_set.lo
CC isl_mat.lo
CC isl_morph.lo
CC isl_id.lo
CC isl_obj.lo
CC isl_options.lo
CC isl_output.lo
CC isl_point.lo
CC isl_polynomial.lo
CC isl_printer.lo
CC print.lo
CC isl_range.lo
CC isl_reordering.lo
CC isl_sample.lo
CC isl_scan.lo
CC isl_schedule.lo
CC isl_schedule_band.lo
CC isl_schedule_node.lo
CC isl_schedule_read.lo
CC isl_schedule_tree.lo
CC isl_schedule_constraints.lo
CC isl_scheduler.lo
CC isl_scheduler_clustering.lo
CC isl_scheduler_scc.lo
CC isl_set_list.lo
CC isl_sort.lo
CC isl_space.lo
CC isl_stream.lo
CC isl_seq.lo
CC isl_set_to_ast_graft_list.lo
CC isl_stride.lo
CC isl_tab.lo
CC isl_tab_pip.lo
CC isl_tarjan.lo
CC isl_transitive_closure.lo
CC isl_union_map.lo
CC isl_val.lo
CC isl_vec.lo
CC isl_version.lo
CC isl_vertices.lo
CCLD libisl.la
CCLD isl_test
CC polyhedron_sample.o
CCLD isl_polyhedron_sample
CC pip.o
CCLD isl_pip
CC polyhedron_minimize.o
CCLD isl_polyhedron_minimize
CC polytope_scan.o
CCLD isl_polytope_scan
CC polyhedron_detect_equalities.o
CCLD isl_polyhedron_detect_equalities
CC polyhedron_remove_redundant_equalities.o
CCLD isl_polyhedron_remove_redundant_equalities
CC cat.o
CCLD isl_cat
CC closure.o
CCLD isl_closure
CC bound.o
CCLD isl_bound
CC schedule.o
CCLD isl_schedule
CC codegen.o
CCLD isl_codegen
CC isl_test_int.o
CCLD isl_test_int
CC flow.o
CCLD isl_flow
CC flow_cmp.o
CCLD isl_flow_cmp
CC schedule_cmp.o
CCLD isl_schedule_cmp
CXX isl_test2.o
CXXLD isl_test2
ld: warning: -bind_at_load is deprecated on macOS
CXX isl_test_cpp-isl_test_cpp.o
CXXLD isl_test_cpp
ld: warning: -bind_at_load is deprecated on macOS
CXX isl_test_cpp17.o
CXXLD isl_test_cpp17
ld: warning: -bind_at_load is deprecated on macOS
CXX isl_test_cpp17-checked.o
CXXLD isl_test_cpp17-checked
ld: warning: -bind_at_load is deprecated on macOS
CC dep.o
AR libdep.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive
library: libdep.a the table of contents is empty (no object file members
in the library define global symbols)
Making all in doc
make[2]: Nothing to be done for `all'.
Cedrics-MBP:isl-0.26 cedric$ sudo make install
Password:
/Library/Developer/CommandLineTools/usr/bin/make install-recursive
Making install in .
././install-sh -c -d '/usr/local/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libisl.la
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libisl.23.dylib
/usr/local/lib/libisl.23.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libisl.23.dylib
libisl.dylib || { rm -f libisl.dylib && ln -s libisl.23.dylib
libisl.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libisl.lai
/usr/local/lib/libisl.la
libtool: install: /usr/bin/install -c .libs/libisl.a /usr/local/lib/libisl.a
libtool: install: chmod 644 /usr/local/lib/libisl.a
libtool: install: ranlib /usr/local/lib/libisl.a
/usr/bin/install -c -m 644 ./libisl-gdb.py
/usr/local/lib/libisl.23.dylib-gdb.py
././install-sh -c -d '/usr/local/include/isl'
/usr/bin/install -c -m 644 include/isl/stdint.h '/usr/local/include/isl'
././install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 isl.pc '/usr/local/lib/pkgconfig'
././install-sh -c -d '/usr/local/include/isl'
/usr/bin/install -c -m 644 include/isl/cpp.h include/isl/typed_cpp.h
include/isl/val_gmp.h include/isl/aff.h include/isl/aff_type.h
include/isl/arg.h include/isl/ast.h include/isl/ast_type.h
include/isl/ast_build.h include/isl/constraint.h include/isl/ctx.h
include/isl/fixed_box.h include/isl/flow.h include/isl/id.h
include/isl/id_type.h include/isl/id_to_ast_expr.h
include/isl/id_to_id.h include/isl/id_to_pw_aff.h include/isl/ilp.h
include/isl/hash.h include/isl/hmap.h include/isl/hmap_templ.c
include/isl/list.h include/isl/local_space.h include/isl/lp.h
include/isl/mat.h include/isl/map.h include/isl/map_to_basic_set.h
include/isl/map_type.h include/isl/maybe.h include/isl/maybe_ast_expr.h
include/isl/maybe_basic_set.h include/isl/maybe_id.h
include/isl/maybe_pw_aff.h include/isl/maybe_templ.h include/isl/multi.h
include/isl/obj.h include/isl/options.h include/isl/point.h
include/isl/polynomial.h '/usr/local/include/isl'
/usr/bin/install -c -m 644 include/isl/polynomial_type.h
include/isl/printer.h include/isl/printer_type.h include/isl/schedule.h
include/isl/schedule_node.h include/isl/schedule_type.h
include/isl/set.h include/isl/set_type.h include/isl/space.h
include/isl/space_type.h include/isl/stream.h include/isl/stride_info.h
include/isl/union_map.h include/isl/union_map_type.h
include/isl/union_set.h include/isl/union_set_type.h include/isl/val.h
include/isl/val_type.h include/isl/vec.h include/isl/version.h
include/isl/vertices.h '/usr/local/include/isl'
Making install in doc
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Cedrics-MBP:isl-0.26 cedric$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20231204/0a2a5b7b/attachment-0001.htm>
More information about the devel
mailing list