[MacPorts] #49004: Apple clang 7.0 hangs on compiling glew.c
#49004: Apple clang 7.0 hangs on compiling glew.c -----------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: glew -----------------------------------+-------------------------------- The Apple clang 7.0 compiler from Xcode 7.0.1 hangs on compiling... /usr/bin/clang -DGLEW_NO_GLU -DGLEW_BUILD -O2 -Wall -W -Iinclude -dynamic -fno-common -ansi -pedantic -arch x86_64 -fPIC -o tmp/darwin/default/shared/glew.o -c src/glew.c The workaround is to use the attached Portfile.diff which changes the optimization from -O2 to -Os in ${worksrcpath}/config/Makefile.darwin which is the fix used in fink's glew package. -- Ticket URL: <https://trac.macports.org/ticket/49004> MacPorts <https://www.macports.org/> Ports system for OS X
#49004: glew: Apple clang 7.0 hangs on compiling glew.c ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: glew | ------------------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… * cc: jmr@… (removed) Old description:
The Apple clang 7.0 compiler from Xcode 7.0.1 hangs on compiling...
/usr/bin/clang -DGLEW_NO_GLU -DGLEW_BUILD -O2 -Wall -W -Iinclude -dynamic -fno-common -ansi -pedantic -arch x86_64 -fPIC -o tmp/darwin/default/shared/glew.o -c src/glew.c
The workaround is to use the attached Portfile.diff which changes the optimization from -O2 to -Os in ${worksrcpath}/config/Makefile.darwin which is the fix used in fink's glew package.
New description: The Apple clang 7.0 compiler from Xcode 7.0.1 hangs on compiling... {{{ /usr/bin/clang -DGLEW_NO_GLU -DGLEW_BUILD -O2 -Wall -W -Iinclude -dynamic -fno-common -ansi -pedantic -arch x86_64 -fPIC -o tmp/darwin/default/shared/glew.o -c src/glew.c }}} The workaround is to use the attached Portfile.diff which changes the optimization from -O2 to -Os in ${worksrcpath}/config/Makefile.darwin which is the fix used in fink's glew package. -- Comment: The bug is really that the glew port is not honoring the MacPorts value for configure.optflags (which is -Os by default). -- Ticket URL: <https://trac.macports.org/ticket/49004#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49004: glew: Apple clang 7.0 hangs on compiling glew.c ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: glew | ------------------------------------+------------------- Comment (by howarth.at.macports@…): Only in the sense that it would mask the new compilation bug in Apple clang 7.0. -- Ticket URL: <https://trac.macports.org/ticket/49004#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49004: glew: Apple clang 7.0 takes a long time to compile glew.c ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: glew | ------------------------------------+------------------- Comment (by jmr@…): Doesn't hang, just takes a lot longer than it should. -- Ticket URL: <https://trac.macports.org/ticket/49004#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49004: glew: Apple clang 7.0 takes a long time to compile glew.c ------------------------------------+-------------------- Reporter: howarth.at.macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: glew | ------------------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r140798 -- Ticket URL: <https://trac.macports.org/ticket/49004#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts