[MacPorts] #32825: webp: error: can't find a register in class 'BREG' while reloading 'asm'

MacPorts noreply at macports.org
Tue Jan 10 18:51:42 PST 2012


#32825: webp: error: can't find a register in class 'BREG' while reloading 'asm'
----------------------------------+-----------------------------------------
 Reporter:  erg@…                 |       Owner:  ryandesign@…           
     Type:  defect                |      Status:  new                    
 Priority:  Normal                |   Milestone:                         
Component:  ports                 |     Version:  2.0.3                  
 Keywords:  leopard               |        Port:  webp                   
----------------------------------+-----------------------------------------

Comment(by ryandesign@…):

 I see [http://stackoverflow.com/questions/4010069/problem-on-mac-cant-
 find-a-register-in-class-breg-while-reloading-asm this similar report],
 indicating it's a problem with position-independent code, which on OS X is
 generated by default; it shows flags we could try to disable PIC.
 Alternately, it suggests it's a problem with the old gcc on Leopard; we
 could try using gcc 4.2 which is also available in Leopard's Xcode, but
 not on Tiger's, so we'd need a different solution there. Finally, we
 should report this to the developers of webp. I checked the binary they
 have for Leopard, and it's compiled only for x86_64, which is strange
 because that's not the default architecture on Leopard. Perhaps it was
 made on Snow Leopard, with Snow Leopard's newer gcc. I will test these
 various theories when I get back to my Leopard machine.

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


More information about the macports-tickets mailing list