[MacPorts] #32088: libccd: 'always_inline' function could not be inlined in call to 'ccdVec3Dot': function not considered for inlining
#32088: libccd: 'always_inline' function could not be inlined in call to 'ccdVec3Dot': function not considered for inlining -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: libccd -------------------------------------+-------------------------------------- libccd does not compile for me on OS X 10.6.8 with Xcode 3.2.6: {{{ cc -Wall -pedantic --std=gnu99 -I. -c -o ccd.o ccd.c ./ccd/vec3.h: In function ‘ccdGJKPenetration’: ./ccd/vec3.h:304: error: ‘always_inline’ function could not be inlined in call to ‘ccdVec3Dot’: function not considered for inlining ./ccd/vec3.h:248: error: called from here make: *** [ccd.o] Error 1 }}} [http://build.macports.org/builders/buildports-snowleopard- x86_64/builds/3079/steps/compile/logs/stdio Same problem on the buildbot]. -- Ticket URL: <https://trac.macports.org/ticket/32088> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32088: libccd: 'always_inline' function could not be inlined in call to 'ccdVec3Dot': function not considered for inlining --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: libccd | --------------------------------------+------------------------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Sorry. Should be fixed in r87300. -- Ticket URL: <https://trac.macports.org/ticket/32088#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32088: libccd: 'always_inline' function could not be inlined in call to 'ccdVec3Dot': function not considered for inlining --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: libccd | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Thank you for UsingTheRightCompiler but the part that actually fixed the problem was adding ${configure.cflags}, specifically ${configure.optflags} i.e. `-O2`, to the CFLAGS; looks like `-O1`, `-O2`, and `-O3` work but the default `-O0` does not. -- Ticket URL: <https://trac.macports.org/ticket/32088#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts