Trying to compile haproxy on my local machine for testing purposes and
am running into the following:

        # make TARGET=osx
        src/proto_http.c:293:1: error: argument to 'section' attribute
is not valid for this target: mach-o section specifier requires a
segment and section separated by a comma
        DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct
http_txn));
        ^
        include/common/memory.h:128:2: note: expanded from macro
'DECLARE_POOL'
                        REGISTER_POOL(&ptr, name, size)
                        ^
        include/common/memory.h:123:2: note: expanded from macro
'REGISTER_POOL'
                        INITCALL3(STG_POOL, create_pool_callback, (ptr),
(name), (size))
                        ^
        include/common/initcall.h:102:2: note: expanded from macro
'INITCALL3'
                        _DECLARE_INITCALL(stage, __LINE__, function,
arg1, arg2, arg3)
                        ^
        include/common/initcall.h:78:2: note: expanded from macro
'_DECLARE_INITCALL'
                        __DECLARE_INITCALL(__VA_ARGS__)
                        ^
        include/common/initcall.h:65:42: note: expanded from macro
'__DECLARE_INITCALL'
                               
__attribute__((__used__,__section__("init_"#stg))) =   \



Issue occurs on master, and the 1.9 branch

-Patrick

Reply via email to