starpu-runtime / starpu

This is a mirror of https://gitlab.inria.fr/starpu/starpu where our development happens, but contributions are welcome here too!
https://starpu.gitlabpages.inria.fr/
GNU Lesser General Public License v2.1
58 stars 13 forks source link

Linking fails on 32-bit due to missing __sync* symbols: have to be linked to libatomic #16

Closed barracuda156 closed 1 year ago

barracuda156 commented 1 year ago
  CXXLD    libstarpu-1.4.la
Undefined symbols:
  "___sync_fetch_and_add_8", referenced from:
      __starpu_task_submit in task.o
      __starpu_task_submit in task.o
      __starpu_repush_task in sched_policy.o
      __starpu_repush_task in sched_policy.o
      __starpu_repush_task in sched_policy.o
      __starpu_repush_task in sched_policy.o
      __starpu_driver_start_job in driver_common.o
      __starpu_driver_start_job in driver_common.o
      __starpu_driver_update_job_feedback in driver_common.o
  "___sync_val_compare_and_swap_8", referenced from:
      __starpu_perf_counter_update_max_int64 in task.o
      __starpu_perf_counter_update_max_int64 in sched_policy.o
      __starpu_driver_update_job_feedback in driver_common.o
  "___sync_add_and_fetch_8", referenced from:
      __starpu_task_submit in task.o
      __starpu_task_submit in task.o
      __starpu_repush_task in sched_policy.o
      __starpu_repush_task in sched_policy.o
ld: symbol(s) not found
barracuda156 commented 1 year ago

Also these archaic __sync* symbols do not even work with modern GCC, even with passing -latomic flag. It has been advised to replace them with __atomic*: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html

barracuda156 commented 1 year ago

So configure does not work correctly. Here are defines I get in config.h:

/* Define to 1 if the target supports __sync_bool_compare_and_swap */
#define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1

/* Define to 1 if the target supports __sync_fetch_and_add */
#define STARPU_HAVE_SYNC_FETCH_AND_ADD 1

/* Define to 1 if the target supports __sync_fetch_and_or */
#define STARPU_HAVE_SYNC_FETCH_AND_OR 1

/* Define to 1 if the target supports __sync_lock_test_and_set */
#define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1

/* Define to 1 if the target supports __sync_synchronize */
#define STARPU_HAVE_SYNC_SYNCHRONIZE 1

/* Define to 1 if the target supports __sync_val_compare_and_swap */
#define STARPU_HAVE_SYNC_VAL_COMPARE_AND_SWAP 1

No idea why it uses legacy builtins; to have 64-bit atomics working on 32-bit platform, correct builtins should be used plus explicit linking to libatomic.

sthibaul commented 1 year ago

__sync* are not "archaic". They just happen to provide less fine-grain support than __atomic. That is why gcc recommends for “New code” to prefer __atomic. gcc has not dropped support for __sync at all. Also, __atomic are not that recent (gcc-5, 2015), and starpu needs to be able to build on elder HPC systems.

to have 64-bit atomics working on 32-bit platform, correct builtins should be used plus explicit linking to libatomic.

Yes, that is the actual issue, which was not present before because we weren't using 64bit atomics on 32bit platforms in StarPU 1.3 and before.

I have pushed a fix to our trees, it will show up on github within a day.

barracuda156 commented 1 year ago

@sthibaul Thank you very much!

I want to update starpu in Macports, and we need this fix for that.

barracuda156 commented 1 year ago

@sthibaul @nfurmento Building from master, now I get this error:

:info:build In file included from ../../include/starpu_thread.h:23,
:info:build                  from ../../include/starpu.h:49,
:info:build                  from ../../mpi/include/starpu_mpi.h:21,
:info:build                  from starpu_mpi_coop_sends.c:18:
:info:build ../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
:info:build ../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
:info:build ../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
:info:build ../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
:info:build ../../include/starpu_util.h:690: error: for each function it appears in.)
:info:build ../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
:info:build ../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
sthibaul commented 1 year ago

Ah, I guess your mpicc doesn't actually call gcc... This is actually a more general issue, I have pushed a fix.

barracuda156 commented 1 year ago

Ah, I guess your mpicc doesn't actually call gcc... This is actually a more general issue, I have pushed a fix.

@sthibaul Okay, I think I have found out the reason. While we did not set starpu to use MPICH, it finds archaic MPICH is system prefix, which obviously cannot work correctly (and it won’t wrap the appropriate compiler):

checking for mpicc... /usr/bin/mpicc
checking whether mpicc is available... /usr/bin/mpicc
checking for mpicxx... /usr/bin/mpicxx
checking whether mpicxx is available... /usr/bin/mpicxx
checking for mpiexec... /usr/bin/mpiexec
checking whether mpiexec is available... /usr/bin/mpiexec

So we have to either force-disable MPICH or set it to use Macports prefix one.

I recall I had problems setting up MPICH when I wrote the portfile for starpu initially. Will try to sort this out again.

barracuda156 commented 1 year ago

@sthibaul Hmm, I got configure to pick correct MPICH, but same error:

In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from ../../mpi/include/starpu_mpi.h:21,
                 from ./starpu_mpi_datatype.h:20,
                 from starpu_mpi_datatype.c:17:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from ../../mpi/include/starpu_mpi.h:21,
                 from starpu_mpi.c:20:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once

../../include/starpu_util.h:690: error: for each function it appears in.)../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
../../include/starpu_util.h:690: error: for each function it appears in.)
../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)

../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from starpu_mpi_req.c:18:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
../../include/starpu_util.h:690: error: for each function it appears in.)
In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from starpu_mpi_task_insert.c:21:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from ../../mpi/include/starpu_mpi.h:21,
                 from starpu_mpi_coop_sends.c:18:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
../../include/starpu_util.h:690: error: for each function it appears in.)
../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
../../include/starpu_util.h:690: error: for each function it appears in.)
../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../include/starpu_thread.h:23,
                 from ../../include/starpu.h:49,
                 from ../../mpi/include/starpu_mpi.h:21,
                 from starpu_mpi_helper.c:17:
../../include/starpu_util.h: In function 'starpu_bool_compare_and_swap64':
../../include/starpu_util.h:690: warning: implicit declaration of function '__atomic_compare_exchange_n'
../../include/starpu_util.h:690: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../include/starpu_util.h:690: error: (Each undeclared identifier is reported only once
../../include/starpu_util.h:690: error: for each function it appears in.)
../../include/starpu_util.h: In function 'starpu_val_compare_and_swap64':
../../include/starpu_util.h:728: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from starpu_mpi_helper.c:18:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from starpu_mpi_req.c:19:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from starpu_mpi_coop_sends.c:19:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../src/common/starpu_spinlock.h:24,
                 from ../../src/datawizard/coherency.h:25,
                 from starpu_mpi_task_insert.c:26:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../src/common/rbtree.h:64,
                 from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_helper.c:18:
../../src/common/rbtree_i.h: In function 'starpu_rbtree_check_index':
../../src/common/rbtree_i.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
../../src/common/rbtree_i.h: In function 'starpu_rbtree_slot':
../../src/common/rbtree_i.h:119: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_helper.c:18:
../../src/common/rbtree.h: In function 'starpu_rbtree_insert_slot':
../../src/common/rbtree.h:281: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from ./starpu_mpi_datatype.h:21,
                 from starpu_mpi_datatype.c:17:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ../../src/common/rbtree.h:64,
                 from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from ./starpu_mpi_datatype.h:21,
                 from starpu_mpi_datatype.c:17:
../../src/common/rbtree_i.h: In function 'starpu_rbtree_check_index':
../../src/common/rbtree_i.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
../../src/common/rbtree_i.h: In function 'starpu_rbtree_slot':
../../src/common/rbtree_i.h:119: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from ./starpu_mpi_datatype.h:21,
                 from starpu_mpi_datatype.c:17:
../../src/common/rbtree.h: In function 'starpu_rbtree_insert_slot':
../../src/common/rbtree.h:281: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/rbtree.h:64,
                 from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_req.c:19:
../../src/common/rbtree_i.h: In function 'starpu_rbtree_check_index':
../../src/common/rbtree_i.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/rbtree.h:64,
                 from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_coop_sends.c:19:
../../src/common/rbtree_i.h: In function 'starpu_rbtree_check_index':
../../src/common/rbtree_i.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
../../src/common/rbtree_i.h: In function 'starpu_rbtree_slot':
../../src/common/rbtree_i.h:119: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
../../src/common/rbtree_i.h: In function 'starpu_rbtree_slot':
../../src/common/rbtree_i.h:119: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_req.c:19:
../../src/common/rbtree.h: In function 'starpu_rbtree_insert_slot':
../../src/common/rbtree.h:281: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from ../../src/common/prio_list.h:126,
                 from ./starpu_mpi_private.h:26,
                 from starpu_mpi_coop_sends.c:19:
../../src/common/rbtree.h: In function 'starpu_rbtree_insert_slot':
../../src/common/rbtree.h:281: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
starpu_mpi_helper.c: In function 'starpu_mpi_array_unlock_callback':
starpu_mpi_helper.c:62: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from ./starpu_mpi_datatype.h:21,
                 from starpu_mpi.c:21:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
starpu_mpi_req.c: In function '_starpu_mpi_request_fill':
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)starpu_mpi_req.c:74: warning: declaration of 'sync' shadows a global declaration

Could you help with this please? I do not know what goes wrong now.

Logs for reference: starpu_build_log.txt starpu_config_log.txt

sthibaul commented 1 year ago

Which git version is that?

sthibaul commented 1 year ago

It could also be useful to know what underlying compiler mpicc actually calls.

barracuda156 commented 1 year ago

It could also be useful to know what underlying compiler mpicc actually calls.

The last build has correct MPICH, so gcc 12.2.0. I think it uses hydra for mpiexec, if that matters.

I took the latest commit from the master at that moment. (Off the machine already, can quote the hash after waking up.)

sthibaul commented 1 year ago

The last build has correct MPICH, so gcc 12.2.0. I think it uses hydra for mpiexec, if that matters.

That's very surprising then, since

../../include/starpu_util.h:690: warning: implicit declaration of function 'atomic_compare_exchange_n' ../../include/starpu_util.h:690: error: 'ATOMIC_SEQ_CST' undeclared (first use in this function)

are supposed to be gcc intrinsics. Does mpicc call gcc in a peculiar way that makes it stop recognize atomics?

barracuda156 commented 1 year ago

@sthibaul How do I disable MPICH to build with GCC per se? Let’s see if the failure is introduced by MPICH.

UPD. Build was from f2defd5eebd0356d99535ed61a44d5b036729b17

barracuda156 commented 1 year ago

@sthibaul Rebuilding from 67c8489b34317ba53a6d025d1d32d833fadc6b26 – still the same error:

make[5]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-67c8489b34317ba53a6d025d1d32d833fadc6b26/mpi/src'
  CC       starpu_mpi.lo
  CC       starpu_mpi_req.lo
  CC       starpu_mpi_coop_sends.lo
  CC       starpu_mpi_helper.lo
  CC       starpu_mpi_task_insert.lo
  CC       starpu_mpi_datatype.lo
In file included from ../../src/common/starpu_spinlock.h:24,
                 from ../../src/datawizard/coherency.h:25,
                 from starpu_mpi_task_insert.c:26:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../src/common/fxt.h:283: error: (Each undeclared identifier is reported only once
../../src/common/fxt.h:283: error: for each function it appears in.)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from starpu_mpi_coop_sends.c:19:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../src/common/fxt.h:283: error: (Each undeclared identifier is reported only once
../../src/common/fxt.h:283: error: for each function it appears in.)
In file included from ./starpu_mpi_fxt.h:23,
                 from ./starpu_mpi_private.h:24,
                 from ./starpu_mpi_datatype.h:21,
                 from starpu_mpi.c:21:
../../src/common/fxt.h: In function '_starpu_fxt_get_job_id':
../../src/common/fxt.h:283: warning: implicit declaration of function '__atomic_fetch_add'
../../src/common/fxt.h:283: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
../../src/common/fxt.h:283: error: (Each undeclared identifier is reported only once
../../src/common/fxt.h:283: error: for each function it appears in.)

Compilers seem to be picked correctly, including MPICH:

:notice:configure --->  Configuring starpu
:debug:configure Preferred compilers: macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'MacPorts GCC 12'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Found Dependency: path: /opt/local/lib filename: libMacportsLegacySupport.dylib regex: ^libMacportsLegacySupport.dylib$
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: hdf5 hwloc vecLibFort mpich-gcc12 libgcc libgcc12 legacy-support-devel autoconf automake libtool pkgconfig gcc12
:debug:configure Executing proc-pre-org.macports.configure-configure-1
:debug:configure compilers.enforce_c list: 
:debug:configure compilers.enforce_fortran list: 
:debug:configure compilers.enforce_some_fortran list: 
:debug:configure Executing proc-pre-org.macports.configure-configure-2
:debug:configure mpich-gcc12 is installed with the following variants: +fortran
:debug:configure   required: fortran, forbidden: 
:debug:configure   accepted
:debug:configure Executing org.macports.configure (starpu)
:debug:configure Environment: 
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/.CC_PRINT_OPTIONS'
:debug:configure CPATH='/opt/local/include'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-67c8489b34317ba53a6d025d1d32d833fadc6b26" && ./autogen.sh --install --verbose 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-67c8489b34317ba53a6d025d1d32d833fadc6b26" && ./autogen.sh --install --verbose 
:info:configure error: libtool: unknown option character `-' in: --version
:info:configure Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
:info:configure Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
:info:configure autoreconf: export WARNINGS=
:info:configure autoreconf: Entering directory '.'
:info:configure autoreconf: configure.ac: not using Gettext
:info:configure autoreconf: running: /opt/local/bin/aclocal -I m4 --force -I m4
:info:configure autoreconf: configure.ac: tracing
:info:configure autoreconf: running: glibtoolize --copy --force
:info:configure glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
:info:configure glibtoolize: copying file 'build-aux/ltmain.sh'
:info:configure glibtoolize: putting macros in 'm4'.
:info:configure glibtoolize: copying file 'm4/libtool.m4'
:info:configure glibtoolize: copying file 'm4/ltoptions.m4'
:info:configure glibtoolize: copying file 'm4/ltsugar.m4'
:info:configure glibtoolize: copying file 'm4/ltversion.m4'
:info:configure glibtoolize: copying file 'm4/lt~obsolete.m4'
:info:configure glibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
:info:configure glibtoolize: and rerunning glibtoolize and aclocal.
:info:configure autoreconf: configure.ac: not using Intltool
:info:configure autoreconf: configure.ac: not using Gtkdoc
:info:configure autoreconf: running: /opt/local/bin/aclocal -I m4 --force -I m4
:info:configure autoreconf: running: /opt/local/bin/autoconf --include=m4 --force
:info:configure configure.ac:69: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
:info:configure configure.ac:69: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
:info:configure configure.ac:69: the top level
:info:configure configure.ac:252: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:252: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:252: the top level
:info:configure configure.ac:424: warning: The macro `AC_HEADER_STDC' is obsolete.
:info:configure configure.ac:424: You should run autoupdate.
:info:configure ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
:info:configure configure.ac:424: the top level
:info:configure configure.ac:735: warning: The macro `AC_HELP_STRING' is obsolete.
:info:configure configure.ac:735: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
:info:configure configure.ac:735: the top level
:info:configure configure.ac:800: warning: The macro `AC_HELP_STRING' is obsolete.
:info:configure configure.ac:800: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
:info:configure configure.ac:800: the top level
:info:configure configure.ac:805: warning: The macro `AC_HELP_STRING' is obsolete.
:info:configure configure.ac:805: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
:info:configure configure.ac:805: the top level
:info:configure configure.ac:1005: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1005: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1005: the top level
:info:configure configure.ac:1534: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1534: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1408: STARPU_CHECK_CUDA_L is expanded from...
:info:configure configure.ac:1426: STARPU_CHECK_CUDA is expanded from...
:info:configure configure.ac:1534: the top level
:info:configure configure.ac:1536: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1536: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1408: STARPU_CHECK_CUDA_L is expanded from...
:info:configure configure.ac:1426: STARPU_CHECK_CUDA is expanded from...
:info:configure configure.ac:1536: the top level
:info:configure configure.ac:1541: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1541: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1408: STARPU_CHECK_CUDA_L is expanded from...
:info:configure configure.ac:1426: STARPU_CHECK_CUDA is expanded from...
:info:configure configure.ac:1541: the top level
:info:configure configure.ac:1719: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1719: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1719: the top level
:info:configure configure.ac:1875: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1875: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1875: the top level
:info:configure configure.ac:1882: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:1882: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1882: the top level
:info:configure configure.ac:2141: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
:info:configure configure.ac:2141: You should run autoupdate.
:info:configure ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
:info:configure configure.ac:1996: STARPU_CHECK_OPENCL is expanded from...
:info:configure configure.ac:2097: STARPU_LOOK_FOR_OPENCL is expanded from...
:info:configure configure.ac:2141: the top level
:info:configure configure.ac:3907: warning: The macro `AC_TRY_COMPILE' is obsolete.
:info:configure configure.ac:3907: You should run autoupdate.
:info:configure ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
:info:configure lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
:info:configure lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
:info:configure ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
:info:configure m4/ax_dlb_callback_arg.m4:18: AX_DLB_CALLBACK_ARG is expanded from...
:info:configure configure.ac:3907: the top level
:info:configure configure.ac:4283: warning: The macro `AC_CONFIG_HEADER' is obsolete.
:info:configure configure.ac:4283: You should run autoupdate.
:info:configure ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
:info:configure configure.ac:4283: the top level
:info:configure configure.ac:4288: warning: AC_OUTPUT should be used without arguments.
:info:configure configure.ac:4288: You should run autoupdate.
:info:configure autoreconf: running: /opt/local/bin/autoheader --include=m4 --force
:info:configure autoreconf: running: /opt/local/bin/automake --add-missing --copy --force-missing
:info:configure configure.ac:78: installing 'build-aux/ar-lib'
:info:configure configure.ac:78: installing 'build-aux/compile'
:info:configure configure.ac:69: installing 'build-aux/config.guess'
:info:configure configure.ac:69: installing 'build-aux/config.sub'
:info:configure configure.ac:71: installing 'build-aux/install-sh'
:info:configure configure.ac:71: installing 'build-aux/missing'
:info:configure bubble/tests/Makefile.am: installing 'build-aux/depcomp'
:info:configure parallel-tests: installing 'build-aux/test-driver'
:info:configure examples/stencil/Makefile.am:33: warning: LAUNCHER was already defined in condition TRUE, which includes condition STARPU_USE_MPI ...
:info:configure make/starpu-tests.mk:18: ... 'LAUNCHER' previously defined here
:info:configure examples/stencil/Makefile.am:16:   'make/starpu-tests.mk' included from here
:info:configure examples/stencil/Makefile.am:34: warning: LAUNCHER_ENV was already defined in condition TRUE, which includes condition STARPU_USE_MPI ...
:info:configure make/starpu-tests.mk:17: ... 'LAUNCHER_ENV' previously defined here
:info:configure examples/stencil/Makefile.am:16:   'make/starpu-tests.mk' included from here
:info:configure mpi/examples/Makefile.am:26: warning: LAUNCHER multiply defined in condition TRUE ...
:info:configure make/starpu-tests.mk:18: ... 'LAUNCHER' previously defined here
:info:configure mpi/examples/Makefile.am:17:   'make/starpu-tests.mk' included from here
:info:configure mpi/examples/Makefile.am:27: warning: LAUNCHER_ENV multiply defined in condition TRUE ...
:info:configure make/starpu-tests.mk:17: ... 'LAUNCHER_ENV' previously defined here
:info:configure mpi/examples/Makefile.am:17:   'make/starpu-tests.mk' included from here
:info:configure mpi/tests/Makefile.am:26: warning: LAUNCHER multiply defined in condition TRUE ...
:info:configure make/starpu-tests.mk:18: ... 'LAUNCHER' previously defined here
:info:configure mpi/tests/Makefile.am:17:   'make/starpu-tests.mk' included from here
:info:configure mpi/tests/Makefile.am:27: warning: LAUNCHER_ENV multiply defined in condition TRUE ...
:info:configure make/starpu-tests.mk:17: ... 'LAUNCHER_ENV' previously defined here
:info:configure mpi/tests/Makefile.am:17:   'make/starpu-tests.mk' included from here
:info:configure autoreconf: Leaving directory '.'
:debug:configure Environment: 
:debug:configure CC='/opt/local/bin/mpicc-mpich-gcc12'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch ppc'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:configure CPPFLAGS='-isystem/opt/local/include/LegacySupport -I/opt/local/include'
:debug:configure CXX='/opt/local/bin/g++-mp-12'
:debug:configure CXXFLAGS='-pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
:debug:configure C_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure DYLD_LIBRARY_PATH='/opt/local/lib/libgcc'
:debug:configure F77='/opt/local/bin/mpif77-mpich-gcc12'
:debug:configure F90='/opt/local/bin/mpif90-mpich-gcc12'
:debug:configure F90FLAGS='-pipe -Os -m32'
:debug:configure FC='/opt/local/bin/mpif90-mpich-gcc12'
:debug:configure FCFLAGS='-pipe -Os -m32'
:debug:configure FFLAGS='-pipe -Os -m32'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:configure MACPORTS_LEGACY_SUPPORT_CPPFLAGS='-isystem/opt/local/include/LegacySupport'
:debug:configure MACPORTS_LEGACY_SUPPORT_ENABLED='1'
:debug:configure MACPORTS_LEGACY_SUPPORT_LDFLAGS='-L/opt/local/lib -lMacportsLegacySupport'
:debug:configure OBJC='/opt/local/bin/gcc-mp-12'
:debug:configure OBJCFLAGS='-pipe -Os -arch ppc'
:debug:configure OBJCPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:configure OBJCXX='/opt/local/bin/g++-mp-12'
:debug:configure OBJCXXFLAGS='-pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
:debug:configure OBJC_INCLUDE_PATH='/opt/local/include/LegacySupport'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-67c8489b34317ba53a6d025d1d32d833fadc6b26" && ./configure --prefix=/opt/local --with-mpiexec=mpiexec --with-mpicc=mpicc --with-mpicxx=mpicxx 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-67c8489b34317ba53a6d025d1d32d833fadc6b26" && ./configure --prefix=/opt/local --with-mpiexec=mpiexec --with-mpicc=mpicc --with-mpicxx=mpicxx 
:info:configure checking build system type... powerpc-apple-darwin10.8.0
:info:configure checking host system type... powerpc-apple-darwin10.8.0
:info:configure checking target system type... powerpc-apple-darwin10.8.0
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make supports nested variables... yes
:info:configure checking how to create a pax tar archive... gnutar
:info:configure checking whether make supports nested variables... (cached) yes
:info:configure checking whether make supports the include directive... yes (GNU style)
:info:configure checking for gcc... /opt/local/bin/mpicc-mpich-gcc12
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether the compiler supports GNU C... yes
:info:configure checking whether /opt/local/bin/mpicc-mpich-gcc12 accepts -g... yes
:info:configure checking for /opt/local/bin/mpicc-mpich-gcc12 option to enable C11 features... none needed
:info:configure checking whether /opt/local/bin/mpicc-mpich-gcc12 understands -c and -o together... yes
:info:configure checking dependency style of /opt/local/bin/mpicc-mpich-gcc12... gcc3
:info:configure checking for ar... ar
:info:configure checking the archiver (ar) interface... ar
:info:configure checking for gcc... (cached) /opt/local/bin/mpicc-mpich-gcc12
:info:configure checking whether the compiler supports GNU C... (cached) yes
:info:configure checking whether /opt/local/bin/mpicc-mpich-gcc12 accepts -g... (cached) yes
:info:configure checking for /opt/local/bin/mpicc-mpich-gcc12 option to enable C11 features... (cached) none needed
:info:configure checking whether /opt/local/bin/mpicc-mpich-gcc12 understands -c and -o together... (cached) yes
:info:configure checking dependency style of /opt/local/bin/mpicc-mpich-gcc12... (cached) gcc3
:info:configure checking whether the compiler supports GNU C++... yes
:info:configure checking whether /opt/local/bin/g++-mp-12 accepts -g... yes
:info:configure checking for /opt/local/bin/g++-mp-12 option to enable C++11 features... none needed
:info:configure checking dependency style of /opt/local/bin/g++-mp-12... gcc3
:info:configure checking how to run the C preprocessor... /opt/local/bin/mpicc-mpich-gcc12 -E
:info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed
:info:configure checking whether ln -s works... yes
:info:configure checking whether the compiler supports GNU Fortran 77... yes
:info:configure checking whether /opt/local/bin/mpif77-mpich-gcc12 accepts -g... yes
:info:configure checking whether the compiler supports GNU Fortran... yes
:info:configure checking whether /opt/local/bin/mpif90-mpich-gcc12 accepts -g... yes
:info:configure checking for grep that handles long lines and -e... /opt/local/bin/ggrep
:info:configure checking for egrep... /opt/local/bin/ggrep -E
:info:configure checking for gstat... gstat
:info:configure checking for gdate... gdate
:info:configure checking for find... /usr/bin/find
:info:configure checking for clang... clang
:info:configure checking for parallel that supports semaphores with exit code... no
:info:configure checking for pkg-config... /opt/local/bin/pkg-config
:info:configure checking pkg-config is at least version 0.9.0... yes
:info:configure checking whether C compiler supports -Wno-unused... yes
:info:configure checking whether CXX compiler supports -Wno-unused... yes
:info:configure checking whether Fortran 77 compiler supports -Wno-unused... yes
:info:configure checking whether Fortran compiler supports -Wno-unused... yes
:info:configure checking whether Fortran 77 compiler supports -Wno-unused-dummy-argument... yes
:info:configure checking whether Fortran compiler supports -Wno-unused-dummy-argument... yes
:info:configure checking for stdio.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for sys/param.h... yes
:info:configure checking for getpagesize... yes
:info:configure checking for working mmap... yes
:info:configure checking for profiling tool support... yes
:info:configure checking for hierarchical dags - a.k.a bubble - support... no
:info:configure checking whether bubble debug messages should be displayed... no
:info:configure checking whether SimGrid is enabled... no
:info:configure checking whether blocking drivers should be enabled... no
:info:configure checking whether /opt/local/bin/g++-mp-12 supports C++11 features by default... yes
:info:configure checking how to print strings... printf
:info:configure checking for a sed that does not truncate output... (cached) /opt/local/bin/gsed
:info:configure checking for fgrep... /opt/local/bin/ggrep -F
:info:configure checking for ld used by /opt/local/bin/mpicc-mpich-gcc12... /opt/local/bin/ld
:info:configure checking if the linker (/opt/local/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
:info:configure checking the name lister (/opt/local/bin/nm) interface... BSD nm
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking how to convert powerpc-apple-darwin10.8.0 file names to powerpc-apple-darwin10.8.0 format... func_convert_file_noop
:info:configure checking how to convert powerpc-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
:info:configure checking for /opt/local/bin/ld option to reload object files... -r
:info:configure checking for file... file
:info:configure checking for objdump... no
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for dlltool... no
:info:configure checking how to associate runtime and link libraries... printf %s\n
:info:configure checking for archiver @FILE support... no
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /opt/local/bin/nm output from /opt/local/bin/mpicc-mpich-gcc12 object... ok
:info:configure checking for sysroot... no
:info:configure checking for a working dd... /bin/dd
:info:configure checking how to truncate binary pipes... /bin/dd bs=4096 count=1
:info:configure checking for mt... no
:info:configure checking if : is a manifest tool... no
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking for -force_load linker flag... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /opt/local/bin/mpicc-mpich-gcc12 supports -fno-rtti -fno-exceptions... no
:info:configure checking for /opt/local/bin/mpicc-mpich-gcc12 option to produce PIC... -fno-common -DPIC
:info:configure checking if /opt/local/bin/mpicc-mpich-gcc12 PIC flag -fno-common -DPIC works... yes
:info:configure checking if /opt/local/bin/mpicc-mpich-gcc12 static flag -static works... no
:info:configure checking if /opt/local/bin/mpicc-mpich-gcc12 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/mpicc-mpich-gcc12 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/mpicc-mpich-gcc12 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.8.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-12 -E
:info:configure checking for ld used by /opt/local/bin/g++-mp-12... /opt/local/bin/ld
:info:configure checking if the linker (/opt/local/bin/ld) is GNU ld... no
:info:configure checking whether the /opt/local/bin/g++-mp-12 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking for /opt/local/bin/g++-mp-12 option to produce PIC... -fno-common -DPIC
:info:configure checking if /opt/local/bin/g++-mp-12 PIC flag -fno-common -DPIC works... yes
:info:configure checking if /opt/local/bin/g++-mp-12 static flag -static works... no
:info:configure checking if /opt/local/bin/g++-mp-12 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/g++-mp-12 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/g++-mp-12 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.8.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking for /opt/local/bin/mpif77-mpich-gcc12 option to produce PIC... -fno-common
:info:configure checking if /opt/local/bin/mpif77-mpich-gcc12 PIC flag -fno-common works... yes
:info:configure checking if /opt/local/bin/mpif77-mpich-gcc12 static flag -static works... no
:info:configure checking if /opt/local/bin/mpif77-mpich-gcc12 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/mpif77-mpich-gcc12 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/mpif77-mpich-gcc12 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.8.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking for /opt/local/bin/mpif90-mpich-gcc12 option to produce PIC... -fno-common
:info:configure checking if /opt/local/bin/mpif90-mpich-gcc12 PIC flag -fno-common works... yes
:info:configure checking if /opt/local/bin/mpif90-mpich-gcc12 static flag -static works... no
:info:configure checking if /opt/local/bin/mpif90-mpich-gcc12 supports -c -o file.o... yes
:info:configure checking if /opt/local/bin/mpif90-mpich-gcc12 supports -c -o file.o... (cached) yes
:info:configure checking whether the /opt/local/bin/mpif90-mpich-gcc12 linker (/opt/local/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.8.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking for egrep... (cached) /opt/local/bin/ggrep -E
:info:configure checking for C/C++ restrict keyword... __restrict__
:info:configure checking for bash... /bin/bash
:info:configure checking for git... /opt/local/bin/git
:info:configure fatal: not a git repository (or any of the parent directories): .git
:info:configure checking for mpicc... /usr/bin/mpicc
:info:configure checking whether mpicc is available... /usr/bin/mpicc
:info:configure checking for mpicxx... /usr/bin/mpicxx
:info:configure checking whether mpicxx is available... /usr/bin/mpicxx
:info:configure checking for mpiexec... /usr/bin/mpiexec
:info:configure checking whether mpiexec is available... /usr/bin/mpiexec
:info:configure checking for MPI_Comm_create_group... no
:info:configure checking whether the MPI master-slave mode should be enabled... no
:info:configure checking maximum number of MPI master-slave devices... 0
:info:configure checking whether the TCP/IP master-slave mode should be enabled... no
:info:configure checking maximum number of TCP/IP master-slave devices... 0
:info:configure checking whether MPI tests should be run... no
:info:configure checking whether the StarPU MPI library should be generated... yes
:info:configure checking whether the StarPU MPI nmad library should be generated... no
:info:configure checking for MPI_SYNC_CLOCKS... no
:info:configure checking whether MPI debug messages should be displayed... no
:info:configure checking for hwloc-calc... /opt/local/bin/hwloc-calc
:info:configure checking maximum number of NUMA nodes... 1
:info:configure checking for lib... no
:info:configure checking size of void *... 4
:info:configure checking for unistd.h... (cached) yes
:info:configure checking for struct timespec... yes
:info:configure checking for pthread_create in -lpthread... yes
:info:configure checking for library containing sqrt... none required
:info:configure checking for main in -lws2_32... no
:info:configure checking for sysconf... yes
:info:configure checking for getrlimit... yes
:info:configure checking for scandir... yes
:info:configure checking for pthread_spin_lock... no
:info:configure checking for pthread_barrier_init... no
:info:configure checking for pthread_setaffinity_np... no
:info:configure checking for pthread_setname_np... yes
:info:configure checking whether PTHREAD_MUTEX_INITIALIZER just zeroes... no
:info:configure checking whether PTHREAD_COND_INITIALIZER just zeroes... no
:info:configure checking whether PTHREAD_RWLOCK_INITIALIZER just zeroes... no
:info:configure checking for posix_memalign... yes
:info:configure checking for memalign... no
:info:configure checking for drand48... yes
:info:configure checking for erand48_r... no
:info:configure checking for strerror_r... yes
:info:configure checking for setenv... yes
:info:configure checking for unsetenv... yes
:info:configure checking for nearbyintf... yes
:info:configure checking for rintf... yes
:info:configure checking for malloc.h... no
:info:configure checking for valgrind/valgrind.h... no
:info:configure checking for valgrind/memcheck.h... no
:info:configure checking for valgrind/helgrind.h... no
:info:configure checking for sched_yield... yes
:info:configure checking for aio.h... yes
:info:configure checking for aio_read in -lrt... no
:info:configure checking for copy_file_range... no
:info:configure checking for mkostemp... no
:info:configure checking for mkdtemp... yes
:info:configure checking for pread... yes
:info:configure checking for pwrite... yes
:info:configure checking whether the target supports __sync_val_compare_and_swap... yes
:info:configure checking whether the target supports __sync_val_compare_and_swap_8... no
:info:configure checking whether the target supports __sync_bool_compare_and_swap... yes
:info:configure checking whether the target supports __sync_bool_compare_and_swap_8... no
:info:configure checking whether the target supports __sync_fetch_and_add... yes
:info:configure checking whether the target supports __sync_fetch_and_add_8... no
:info:configure checking whether the target supports __sync_fetch_and_or... yes
:info:configure checking whether the target supports __sync_fetch_and_or_8... no
:info:configure checking whether the target supports __sync_lock_test_and_set... yes
:info:configure checking whether the target supports __atomic_compare_exchange_n... yes
:info:configure checking whether the target supports __atomic_compare_exchange_n_8... no
:info:configure checking whether the target supports __atomic_exchange_n... yes
:info:configure checking whether the target supports __atomic_exchange_n_8... no
:info:configure checking whether the target supports __atomic_fetch_add... yes
:info:configure checking whether the target supports __atomic_fetch_add_8... no
:info:configure checking whether the target supports __atomic_fetch_or... yes
:info:configure checking whether the target supports __atomic_fetch_or_8... no
:info:configure checking whether the target supports __atomic_test_and_set... yes
:info:configure checking whether the target supports __sync_synchronize... yes
:info:configure checking for library containing set_mempolicy... no
:info:configure checking whether libnuma is available... no
:info:configure checking whether statement expressions are available... yes
:info:configure checking for dlopen... yes
:info:configure checking maximum number of sched_ctxs... 10
:info:configure checking maximum number of CPUs... 8
:info:configure checking whether CPUs should be used... yes
:info:configure checking maximum number of CUDA devices... 4
:info:configure checking whether CUDA is available... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /usr/local/cuda... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /c/cuda... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /cygdrive/c/cuda... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /opt/cuda... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /..... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /..... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /..... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is available in /..... 
:info:configure checking for cuda.h... no
:info:configure checking whether CUDA is working... no
:info:configure checking whether CUDA should be used... no
:info:configure checking whether MAGMA should be used... no
:info:configure checking for cufftDoubleComplex... no
:info:configure checking whether CURAND is available... no
:info:configure checking maximum number of HIP devices... 8
:info:configure checking for hipconfig... not-found
:info:configure checking maximum number of OpenCL devices... 8
:info:configure checking whether OpenCL is available... no
:info:configure checking for clEnqueueMarkerWithWaitList... no
:info:configure checking whether OpenCL should be used... no
:info:configure checking maximum number of Maxeler FPGA devices... 12
:info:configure checking for slic-config... not-found
:info:configure checking whether asynchronous copy should be disabled... no
:info:configure checking whether asynchronous CUDA copy should be disabled... no
:info:configure checking whether asynchronous OpenCL copy should be disabled... no
:info:configure checking whether asynchronous MPI Master Slave copy should be disabled... no
:info:configure checking whether asynchronous TCP/IP Master Slave copy should be disabled... no
:info:configure checking whether asynchronous Maxeler FPGA copy should be disabled... no
:info:configure checking whether debug mode should be enabled... no
:info:configure checking whether gdb information should be enabled... yes
:info:configure checking whether full gdb information should be enabled... yes
:info:configure checking whether C compiler supports -gdwarf-2... yes
:info:configure checking whether CXX compiler supports -gdwarf-2... yes
:info:configure checking whether Fortran 77 compiler supports -gdwarf-2... yes
:info:configure checking whether Fortran compiler supports -gdwarf-2... yes
:info:configure checking whether C compiler supports -g3... yes
:info:configure checking whether CXX compiler supports -g3... yes
:info:configure checking whether Fortran 77 compiler supports -g3... yes
:info:configure checking whether Fortran compiler supports -g3... yes
:info:configure checking whether extra checks should be performed... no
:info:configure checking whether debug messages should be displayed... no
:info:configure checking whether coverage testing should be enabled... no
:info:configure checking whether coverity mode should be enabled... no
:info:configure checking for FXT... no
:info:configure checking whether FxT traces should be generated... no
:info:configure checking whether additional locking systems FxT traces should be enabled... no
:info:configure checking for PAPI... no
:info:configure checking whether performance debugging should be enabled... no
:info:configure checking whether performance model debugging should be enabled... no
:info:configure checking whether memory stats should be displayed... no
:info:configure checking for glpk.h... yes
:info:configure checking for main in -lglpk... yes
:info:configure checking for Ayudame.h... no
:info:configure checking for ayudame.h... no
:info:configure checking whether the target supports program_invocation_short_name... no
:info:configure checking whether data locality should be enforced... no
:info:configure checking how many buffers can be manipulated per task... 8
:info:configure checking how many MPI nodes fxt files can be manipulated when generating traces... 64
:info:configure checking maximum number of memory nodes to use per MPI rank... checking maximum number of memory nodes... 4
:info:configure checking whether allocation cache should be used... yes
:info:configure checking using explicit performance model location... no
:info:configure checking performance models location... $STARPU_HOME/.starpu/sampling/
:info:configure checking for clock_gettime in -lrt... no
:info:configure checking for clock_gettime... yes
:info:configure checking Maximum number of workers... 16
:info:configure checking Maximum number of workers combinations... 8
:info:configure checking maximum number of implementations... 4
:info:configure checking calibration heuristic of history-based StarPU calibrator... 50
:info:configure checking whether the master-slave mode should be enabled... no
:info:configure checking whether C compiler supports -Wall... yes
:info:configure checking whether CXX compiler supports -Wall... yes
:info:configure checking whether Fortran 77 compiler supports -Wall... yes
:info:configure checking whether Fortran compiler supports -Wall... yes
:info:configure checking whether C compiler supports -Werror=implicit... yes
:info:configure checking whether C compiler supports -Werror=implicit-function-declaration... yes
:info:configure checking whether C compiler supports -Wextra... yes
:info:configure checking whether CXX compiler supports -Wextra... yes
:info:configure checking whether Fortran 77 compiler supports -Wextra... yes
:info:configure checking whether Fortran compiler supports -Wextra... yes
:info:configure checking whether C compiler supports -Wunused... yes
:info:configure checking whether CXX compiler supports -Wunused... yes
:info:configure checking whether Fortran 77 compiler supports -Wunused... yes
:info:configure checking whether Fortran compiler supports -Wunused... yes
:info:configure checking whether C compiler supports -Wundef... yes
:info:configure checking whether CXX compiler supports -Wundef... yes
:info:configure checking whether C compiler supports -Wshadow... yes
:info:configure checking whether CXX compiler supports -Wshadow... yes
:info:configure checking whether Fortran 77 compiler supports -Wshadow... yes
:info:configure checking whether Fortran compiler supports -Wshadow... yes
:info:configure checking whether C compiler supports -Wpointer-arith... yes
:info:configure checking whether CXX compiler supports -Wpointer-arith... yes
:info:configure checking for mpifort... no
:info:configure The mpifort compiler 'no' does not have the execute permission
:info:configure checking whether mpifort is available... no
:info:configure checking for parallel worker support... no
:info:configure checking for LLVM OpenMP runtime support... no 
:info:configure checking for ucontext.h... no
:info:configure checking for OpenMP runtime support... no ucontext.h unavailable
:info:configure checking for SOCL... no
:info:configure checking for gdb... /usr/bin/gdb
:info:configure checking whether OpenGL rendering is enabled... no
:info:configure checking for X... libraries , headers 
:info:configure checking for gethostbyname... yes
:info:configure checking for connect... yes
:info:configure checking for remove... yes
:info:configure checking for shmat... yes
:info:configure checking for IceConnectionNumber in -lICE... yes
:info:configure checking for OPENBLAS... yes
:info:configure checking for BLAS_OPENBLAS... no
:info:configure checking for library containing sgemm_... -lblas
:info:configure checking for cblas.h... no
:info:configure checking for cblas_sgemv... yes
:info:configure checking for library containing dgels_... -llapack
:info:configure checking which BLAS lib should be used... system
:info:configure checking whether multiple linear regression models are disabled... yes
:info:configure checking for FFTW... yes
:info:configure checking for FFTWF... no
:info:configure checking for FFTWL... no
:info:configure checking for HWLOC... yes
:info:configure checking whether hwloc_cuda_get_device_osdev_by_index is declared... no
:info:configure checking whether hwloc_hip_get_device_osdev_by_index is declared... no
:info:configure checking whether hwloc_distances_obj_pair_values is declared... yes
:info:configure checking for hwloc_topology_dup... yes
:info:configure checking for hwloc_topology_set_components... yes
:info:configure checking for hwloc_cpukinds_get_nr... yes
:info:configure checking for hwloc_get_area_memlocation... yes
:info:configure checking whether hwloc should be used... yes
:info:configure checking for f77.h... no
:info:configure checking for icc... no
:info:configure The ICC compiler '' does not have the execute permission
:info:configure checking for help2man... help2man
:info:configure checking for struct cudaDeviceProp.pciDomainID... no
:info:configure checking for struct cudaDeviceProp.pciBusID... no
:info:configure checking for python3... no
:info:configure configure: WARNING: python3 missing, cannot build StarPU python interface
:info:configure checking for doxygen... /opt/local/bin/doxygen
:info:configure checking for pdflatex... no
:info:configure checking for epstopdf... no
:info:configure checking whether HTML documentation should be compiled... no
:info:configure checking whether HTML documentation is available... no
:info:configure checking whether PDF documentation should be compiled... no
:info:configure checking whether PDF documentation is available... no
:info:configure checking that generated files are newer than configure... done
:info:configure configure: creating ./config.status
:info:configure config.status: creating tests/regression/regression.sh
:info:configure config.status: creating tests/regression/profiles
:info:configure config.status: creating tests/regression/profiles.build.only
:info:configure config.status: creating Makefile
:info:configure config.status: creating src/Makefile
:info:configure config.status: creating tools/Makefile
:info:configure config.status: creating tools/starpu_env
:info:configure config.status: creating tools/starpu_codelet_profile
:info:configure config.status: creating tools/starpu_codelet_histo_profile
:info:configure config.status: creating tools/starpu_mpi_comm_matrix.py
:info:configure config.status: creating tools/starpu_fxt_number_events_to_names.py
:info:configure config.status: creating tools/starpu_workers_activity
:info:configure config.status: creating tools/starpu_paje_draw_histogram
:info:configure config.status: creating tools/starpu_paje_state_stats
:info:configure config.status: creating tools/starpu_paje_summary
:info:configure config.status: creating tools/starpu_config
:info:configure config.status: creating tools/starpu_mlr_analysis
:info:configure config.status: creating tools/starpu_paje_sort
:info:configure config.status: creating tools/starpu_smpirun
:info:configure config.status: creating tools/starpu_tcpipexec
:info:configure config.status: creating socl/Makefile
:info:configure config.status: creating socl/src/Makefile
:info:configure config.status: creating socl/examples/Makefile
:info:configure config.status: creating socl/vendors/socl.icd
:info:configure config.status: creating socl/vendors/install/socl.icd
:info:configure config.status: creating packages/libstarpu.pc
:info:configure config.status: creating packages/starpu-1.0.pc
:info:configure config.status: creating packages/starpu-1.1.pc
:info:configure config.status: creating packages/starpu-1.2.pc
:info:configure config.status: creating packages/starpu-1.3.pc
:info:configure config.status: creating packages/starpu-1.4.pc
:info:configure config.status: creating packages/starpu-1.3
:info:configure config.status: creating packages/starpu-1.4
:info:configure config.status: creating mpi/packages/libstarpumpi.pc
:info:configure config.status: creating mpi/packages/starpumpi-1.0.pc
:info:configure config.status: creating mpi/packages/starpumpi-1.1.pc
:info:configure config.status: creating mpi/packages/starpumpi-1.2.pc
:info:configure config.status: creating mpi/packages/starpumpi-1.3.pc
:info:configure config.status: creating mpi/packages/starpumpi-1.4.pc
:info:configure config.status: creating starpufft/Makefile
:info:configure config.status: creating starpufft/src/Makefile
:info:configure config.status: creating starpufft/tests/Makefile
:info:configure config.status: creating starpufft/packages/libstarpufft.pc
:info:configure config.status: creating starpufft/packages/starpufft-1.0.pc
:info:configure config.status: creating starpufft/packages/starpufft-1.1.pc
:info:configure config.status: creating starpufft/packages/starpufft-1.2.pc
:info:configure config.status: creating starpufft/packages/starpufft-1.3.pc
:info:configure config.status: creating starpufft/packages/starpufft-1.4.pc
:info:configure config.status: creating starpurm/Makefile
:info:configure config.status: creating starpurm/src/Makefile
:info:configure config.status: creating starpurm/tests/Makefile
:info:configure config.status: creating starpurm/examples/Makefile
:info:configure config.status: creating starpurm/packages/starpurm-1.3.pc
:info:configure config.status: creating starpurm/packages/starpurm-1.4.pc
:info:configure config.status: creating starpu_openmp_llvm/Makefile
:info:configure config.status: creating starpu_openmp_llvm/src/Makefile
:info:configure config.status: creating starpu_openmp_llvm/examples/Makefile
:info:configure config.status: creating starpupy/src/setup.cfg
:info:configure config.status: creating starpupy/src/setup.py
:info:configure config.status: creating starpupy/Makefile
:info:configure config.status: creating starpupy/src/Makefile
:info:configure config.status: creating starpupy/examples/Makefile
:info:configure config.status: creating starpupy/execute.sh
:info:configure config.status: creating starpupy/benchmark/Makefile
:info:configure config.status: creating examples/Makefile
:info:configure config.status: creating examples/stencil/Makefile
:info:configure config.status: creating tests/Makefile
:info:configure config.status: creating tests/model-checking/Makefile
:info:configure config.status: creating tests/model-checking/starpu-mc.sh
:info:configure config.status: creating mpi/Makefile
:info:configure config.status: creating mpi/src/Makefile
:info:configure config.status: creating mpi/tests/Makefile
:info:configure config.status: creating mpi/examples/Makefile
:info:configure config.status: creating mpi/tools/Makefile
:info:configure config.status: creating mpi/GNUmakefile
:info:configure config.status: creating sc_hypervisor/Makefile
:info:configure config.status: creating sc_hypervisor/src/Makefile
:info:configure config.status: creating sc_hypervisor/examples/Makefile
:info:configure config.status: creating doc/Makefile
:info:configure config.status: creating doc/doxygen/Makefile
:info:configure config.status: creating doc/doxygen/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen/doxygen-config-include.cfg
:info:configure config.status: creating doc/doxygen/doxygen_filter.sh
:info:configure config.status: creating doc/doxygen_dev/Makefile
:info:configure config.status: creating doc/doxygen_dev/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_dev/doxygen_filter.sh
:info:configure config.status: creating doc/doxygen_dev/doxygen-config-include.cfg
:info:configure config.status: creating doc/doxygen_web_introduction/Makefile
:info:configure config.status: creating doc/doxygen_web_introduction/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_installation/Makefile
:info:configure config.status: creating doc/doxygen_web_installation/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_basics/Makefile
:info:configure config.status: creating doc/doxygen_web_basics/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_applications/Makefile
:info:configure config.status: creating doc/doxygen_web_applications/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_performances/Makefile
:info:configure config.status: creating doc/doxygen_web_performances/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_faq/Makefile
:info:configure config.status: creating doc/doxygen_web_faq/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_languages/Makefile
:info:configure config.status: creating doc/doxygen_web_languages/doxygen-config.cfg
:info:configure config.status: creating doc/doxygen_web_extensions/Makefile
:info:configure config.status: creating doc/doxygen_web_extensions/doxygen-config.cfg
:info:configure config.status: creating tools/msvc/starpu_var.bat
:info:configure config.status: creating min-dgels/Makefile
:info:configure config.status: creating bubble/Makefile
:info:configure config.status: creating bubble/tests/Makefile
:info:configure config.status: creating julia/Makefile
:info:configure config.status: creating julia/src/Makefile
:info:configure config.status: creating julia/src/dynamic_compiler/Makefile
:info:configure config.status: creating julia/examples/Makefile
:info:configure config.status: creating julia/examples/execute.sh
:info:configure config.status: creating eclipse-plugin/Makefile
:info:configure config.status: creating eclipse-plugin/src/Makefile
:info:configure config.status: creating eclipse-plugin/examples/Makefile
:info:configure config.status: creating eclipse-plugin/examples/hello/.cproject
:info:configure config.status: creating src/common/config.h
:info:configure config.status: creating src/common/config-src-build.h
:info:configure config.status: creating include/starpu_config.h
:info:configure config.status: creating starpurm/include/starpurm_config.h
:info:configure config.status: executing depfiles commands
:info:configure config.status: executing libtool commands
:info:configure config.status: executing executable-scripts commands
:info:configure sed: -e: No such file or directory
:info:configure configure:
:info:configure     CPUs     enabled: yes
:info:configure     CUDA     enabled: no
:info:configure     HIP      enabled: no
:info:configure     OpenCL   enabled: no
:info:configure     Max FPGA enabled: no
:info:configure     Compile-time limits
:info:configure     (change these with --enable-maxcpus, --enable-maxcudadev,
:info:configure     --enable-maxopencldev, --enable-maxmaxfpgadev, --enable-maxnodes, --enable-maxbuffers)
:info:configure         (Note these numbers do not represent the number of detected
:info:configure     devices, but the maximum number of devices StarPU can manage)
:info:configure     Maximum number of CPUs:                        8
:info:configure     Maximum number of CUDA devices:                0
:info:configure     Maximum number of HIP devices:                 8
:info:configure     Maximum number of OpenCL devices:              0
:info:configure     Maximum number of Maxeler FPGA devices:        0
:info:configure     Maximum number of MPI master-slave devices:    1
:info:configure     Maximum number of TCP/IP master-slave devices: 1
:info:configure     Maximum number of memory nodes:                4
:info:configure     Maximum number of task buffers:                8
:info:configure     CUDA GPU-GPU transfers: no
:info:configure     CUDA Map:               yes
:info:configure     HIP GPU-GPU transfers:  no
:info:configure     Allocation cache:       yes
:info:configure     Magma enabled:     no
:info:configure     BLAS library:      system
:info:configure     hwloc:             yes
:info:configure     FxT trace enabled: no
:info:configure         Documentation HTML:  no
:info:configure         Documentation PDF:   no
:info:configure         Examples:            yes
:info:configure     StarPU Extensions:
:info:configure            StarPU MPI enabled:                            yes
:info:configure            StarPU MPI failure tolerance:                  no
:info:configure            StarPU MPI failure tolerance stats:            no
:info:configure            StarPU MPI(nmad) enabled:                      no
:info:configure            MPI test suite:                                no
:info:configure            Master-Slave MPI enabled:                      no
:info:configure            Master-Slave TCP/IP enabled:                   no
:info:configure            FFT Support:                                   no
:info:configure            Resource Management enabled:                   no
:info:configure            Python Interface enabled:                      no
:info:configure            OpenMP runtime support enabled:                no
:info:configure            OpenMP LLVM runtime support enabled:           no
:info:configure            Parallel Worker support enabled:               no
:info:configure            SOCL enabled:                                  no
:info:configure            SOCL test suite:                               no
:info:configure            Scheduler Hypervisor:                          no
:info:configure            simgrid enabled:                               no
:info:configure            ayudame enabled:                               no
:info:configure            HDF5 enabled:                                  no
:info:configure            Native fortran support:                        yes
:info:configure            Native MPI fortran support:                    no
:info:configure            Support for multiple linear regression models: no
:info:configure            Hierarchical dags support:                     no
:info:configure            JULIA enabled:                                 no
:debug:configure Executing portconfigure::configure_finish

Config log: starpu_config_67c8489b34317ba53a6d025d1d32d833fadc6b26.txt

sthibaul commented 1 year ago

How do I disable MPICH to build with GCC per se?

I don't know how MPICH picks it.

Rebuilding from https://github.com/starpu-runtime/starpu/commit/67c8489b34317ba53a6d025d1d32d833fadc6b26 – still the same error:

It's not actually the same: it's on fetch_add.

Ok, so __atomic is really causing troubles, I have reverted to prefering __sync. You can try from the gitlab tree https://gitlab.inria.fr/starpu/starpu.git

barracuda156 commented 1 year ago

@sthibaul Atomic builtins should work, we use those in hundreds of ports (we includes myself, so I know it works for the fact). Something is going on here that prevents correct linking.

Sync* ones won’t work for 8-byte atomics on 32-bit. This has also been established earlier with other ports.

I will look into that. What I am not sure of is MPICH interaction.

sthibaul commented 1 year ago

Atomic builtins should work, we use those in hundreds of ports

But here the compiler itself rejects the intrisinc, it's not even a question of linking: the compiler doesn't know about them.

Sync* ones won’t work for 8-byte atomics on 32-bit

That's fine, I made the starpu code avoid them in such case.