[MacPorts] #35310: netpbm broken under xcode 4.4 -- clang problem

MacPorts noreply at macports.org
Wed Jul 25 08:09:55 PDT 2012


#35310: netpbm broken under xcode 4.4 -- clang problem
--------------------------------+-------------------------------------------
 Reporter:  perry@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  High                |   Milestone:                                       
Component:  ports               |     Version:  2.1.1                                
 Keywords:                      |        Port:  netpbm                               
--------------------------------+-------------------------------------------
 It appears that clang lacks some of the intrinsics supplied by gcc, and
 that building netpbm under xcode 4.4 results in the following error
 message. This is rather important, as netpbm is a dependency of many
 packages.

 /usr/bin/clang -c -I.  -Iimportinc -Iimportinc/netpbm
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/netpbm/work/advanced/editor/pamflip
 -DNDEBUG  -I/opt/local/include -O3 -arch x86_64    -o pamflip_sse.o
 pamflip_sse.c
 pamflip_sse.c:136:39: error: use of unknown builtin
 '__builtin_ia32_pcmpeqb128' [-Wimplicit-function-declaration]
         register v16qi const compare
 =__builtin_ia32_pcmpeqb128(vReg,zero128);
                                       ^
 pamflip_sse.c:136:30: error: initializing 'const v16qi' with an expression
 of incompatible type 'int'
         register v16qi const compare
 =__builtin_ia32_pcmpeqb128(vReg,zero128);
                              ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2 errors generated.
 gnumake[2]: *** [pamflip_sse.o] Error 1
 gnumake[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/netpbm/work/advanced/editor/pamflip'

-- 
Ticket URL: <https://trac.macports.org/ticket/35310>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list