watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

gcc 4.2 build break on OSX #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
/Volumes/BuildData/pulse-data/agents/hpad20.eem/recipes/211684014/base/googlecli
ent/third_party/libyuv/files/source/row_posix.cc: In function 'void 
libyuv::I422ToRGB565Row_Unaligned_SSSE3(const uint8*, const uint8*, const 
uint8*, uint8*, int)':
/Volumes/BuildData/pulse-data/agents/hpad20.eem/recipes/211684014/base/googlecli
ent/third_party/libyuv/files/source/row_posix.cc:1800: error: can't find a 
register in class 'GENERAL_REGS' while reloading 'asm'
/Volumes/BuildData/pulse-data/agents/hpad20.eem/recipes/211684014/base/googlecli
ent/third_party/libyuv/files/source/row_posix.cc:1800: error: 'asm' operand has 
impossible constraints
/Volumes/BuildData/pulse-data/agents/hpad20.eem/recipes/211684014/base/googlecli
ent/third_party/libyuv/files/source/row_posix.cc:613: error: 'asm' operand has 
impossible constraints

This is due to 2 asm functions which gcc tries to inline into 
I422ToRGB565_SSSE3 unsuccessfully.

Original issue reported on code.google.com by fbarch...@chromium.org on 29 Oct 2012 at 8:25

GoogleCodeExporter commented 9 years ago
r454 attempted attribute noinline, but gcc4.2 doesnt support attribute
/Users/fbarchard/src/googleclient/third_party/libyuv/files/source/row_posix.cc:5
78: error: attributes are not allowed on a function-definition
/Users/fbarchard/src/googleclient/third_party/libyuv/files/source/row_posix.cc:1
773: error: attributes are not allowed on a function-definition

Original comment by fbarch...@chromium.org on 29 Oct 2012 at 9:07

GoogleCodeExporter commented 9 years ago
Fixed in r455

Original comment by fbarch...@chromium.org on 29 Oct 2012 at 10:14