What steps will reproduce the problem?
1. Try to build on OS X
2. Build fails
What is the expected output? What do you see instead?
Build error:
error: argument to 'section' attribute is not valid for
this target: mach-o section specifier requires a segment and section separated by a comma
which I trace back to
# define RLOG_SECTION __attribute__ (( section("RLOG_DATA") ))
What version of the product are you using? On what operating system?
OS X 10.7, clang 3.0. GCC 4.7 also gave a build error, but in the assembler
phase.
Please provide any additional information below.
Changing this to:
# define RLOG_SECTION __attribute__ (( section(".rlogseg,RLOG_DATA") ))
Gets it to build
Original issue reported on code.google.com by
whatmann...@gmail.comon 28 May 2012 at 12:19