[MacPorts] #49004: Apple clang 7.0 hangs on compiling glew.c

MacPorts noreply at macports.org
Tue Sep 29 17:50:17 PDT 2015


#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


More information about the macports-tickets mailing list