[MacPorts] #68034: libfaketime fails to build with gcc-4.2: thread_local_storage support required
MacPorts
noreply at macports.org
Fri Aug 25 03:34:21 UTC 2023
#68034: libfaketime fails to build with gcc-4.2: thread_local_storage support
required
--------------------------+-------------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: powerpc | Port: libfaketime
--------------------------+-------------------------
{{{
---> Building libfaketime
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_libfaketime/libfaketime/work/libfaketime-0.9.10"
&& /usr/bin/make -j6 -w all PREFIX=/opt/local
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_libfaketime/libfaketime/work/libfaketime-0.9.10'
/usr/bin/make -f Makefile.OSX -C src all
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_libfaketime/libfaketime/work/libfaketime-0.9.10/src'
/usr/bin/gcc-4.2 -o libfaketime.1.dylib -arch ppc -DFAKE_SLEEP
-DFAKE_INTERNAL_CALLS -DPREFIX='"'/opt/local'"' -DMACOS_DYLD_INTERPOSE
-DFAKE_SETTIME -arch ppc -dynamiclib -current_version 0.9.10
-compatibility_version 0.7 -install_name
/opt/local/lib/faketime/libfaketime.1.dylib libfaketime.c
/usr/bin/gcc-4.2 -o faketime -arch ppc -DFAKE_SLEEP -DFAKE_INTERNAL_CALLS
-DPREFIX='"'/opt/local'"' -DMACOS_DYLD_INTERPOSE -DFAKE_SETTIME -arch ppc
faketime.c
libfaketime.c:173: error: thread-local storage not supported for this
target
libfaketime.c:249: error: expected ‘;’, ‘,’ or ‘)’ before ‘readfds’
libfaketime.c: In function ‘macos_select’:
libfaketime.c:1701: error: ‘real_select’ undeclared (first use in this
function)
libfaketime.c:1701: error: (Each undeclared identifier is reported only
once
libfaketime.c:1701: error: for each function it appears in.)
libfaketime.c: In function ‘ftpl_init’:
libfaketime.c:2596: error: ‘real_select’ undeclared (first use in this
function)
libfaketime.c: In function ‘do_macos_dyld_interpose’:
libfaketime.c:4035: error: ‘clock_settime’ undeclared (first use in this
function)
make[1]: *** [libfaketime.1.dylib] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_libfaketime/libfaketime/work/libfaketime-0.9.10/src'
make: *** [all] Error 2
}}}
So at least we need to require a compiler which supports
thread_local_storage.
--
Ticket URL: <https://trac.macports.org/ticket/68034>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list