Skip to content

Instantly share code, notes, and snippets.

@tommyang
Created February 11, 2019 20:53
Show Gist options
  • Save tommyang/d153ed1cbd89c278aecfcc2a6f8cc992 to your computer and use it in GitHub Desktop.
Save tommyang/d153ed1cbd89c278aecfcc2a6f8cc992 to your computer and use it in GitHub Desktop.
==> make CC=clang CFLAGS= LDFLAGS= TARGET=generic USE_KQUEUE=1 USE_POLL=1 USE_PCRE=1 USE_OPENSSL=1 USE_THREAD=1 USE_ZLIB=1 ADDLIB=-lcrypto
CC src/ev_poll.o
CC src/ev_kqueue.o
CC src/ssl_sock.o
CC src/proto_http.o
CC src/cfgparse-listen.o
src/ssl_sock.c:337: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
__decl_rwlock(ssl_ctx_lru_rwlock);
^
include/common/hathreads.h:189:2: note: expanded from macro '__decl_rwlock'
INITCALL1(STG_LOCK, ha_rwlock_init, &(lock))
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9088:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9172:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9183:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9254:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9306:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9339:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9392:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions);
^
include/common/initcall.h:90:2: note: expanded from macro 'INITCALL1'
_DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0)
^
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))) = \
^
src/ssl_sock.c:9508:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters
INITCALL0(STG_REGISTER, ssl_register_build_options);
^
include/common/initcall.h:84:2: note: expanded from macro 'INITCALL0'
_DECLARE_INITCALL(stage, __LINE__, function, 0, 0, 0)
^
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))) = \
^
9 errors generated.
make: *** [src/ssl_sock.o] Error 1
make: *** Waiting for unfinished jobs....
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))) = \
^
src/proto_http.c:294: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_uniqueid, "uniqueid", UNIQUEID_LEN);
^
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))) = \
^
2 errors generated.
make: *** [src/proto_http.o] Error 1
==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/haproxy.rb
==> Configuration
HOMEBREW_VERSION: 2.0.1-23-g1fd8b38
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 1fd8b387c65ca54ae37944ca82e8675360c69c2c
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core/
Core tap HEAD: 1f02346f00262c7ed467a77245ef55aec6fae8b8
Core tap last commit: 2 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew
HOMEBREW_FAIL_LOG_LINES: 150
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_HOME: /Users/brew/Jenkins/workspace/core/home
HOMEBREW_LOGS: /Users/brew/Jenkins/workspace/core/logs
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_EMOJI: 1
CPU: 3-core 64-bit ivybridge
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 11.0.2, 1.8.0_202
macOS: 10.14.3-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
Error: haproxy 1.9.4 did not build
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j3
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/openssl/bin:/usr/local/opt/pcre/bin:/usr/bin:/bin:/usr/sbin:/sbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment