[MacPorts] #40564: darwintrace.c fails to compile with gcc-4.0
#40564: darwintrace.c fails to compile with gcc-4.0 -----------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.0 Keywords: | Port: -----------------------+-------------------------------- {{{ $ make ... ===> making all in src/darwintracelib1.0 gcc -g -O2 -std=c99 -Wextra -Wall -fPIC -Wno-deprecated-declarations -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -c -o darwintrace.o darwintrace.c darwintrace.c:507:2: error: #error Please build with gcc-4.2 or later darwintrace.c: In function '__darwintrace_get_filemap': darwintrace.c:524: warning: implicit declaration of function '__sync_bool_compare_and_swap' make[2]: *** [darwintrace.o] Error 1 ... }}} -- Ticket URL: <https://trac.macports.org/ticket/40564> MacPorts <http://www.macports.org/> Ports system for OS X
#40564: darwintrace.c fails to compile with gcc-4.0 ------------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Changes (by jmr@…): * version: 2.2.0 => 2.2.99 -- Ticket URL: <https://trac.macports.org/ticket/40564#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40564: darwintrace.c fails to compile with gcc-4.0 ------------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by jeremyhu@…): Yeah, that should be updated to use OSAtomics. -- Ticket URL: <https://trac.macports.org/ticket/40564#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40564: darwintrace.c fails to compile with gcc-4.0 ------------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.99 Resolution: fixed | Keywords: Port: | ------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed * milestone: => MacPorts Future Comment: This uses OSAtomics now – but it'll likely still not compile on systems that still use gcc 4.0 (which should not be an issue, because configure probably disables it on these platforms). -- Ticket URL: <https://trac.macports.org/ticket/40564#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40564: darwintrace.c fails to compile with gcc-4.0 ------------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.3.0 Component: base | Version: 2.2.99 Resolution: fixed | Keywords: Port: | ------------------------+-------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 2.3.0 -- Ticket URL: <https://trac.macports.org/ticket/40564#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts