All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set
@ 2021-09-28 22:13 Ankur Tyagi
  2021-09-29  8:07 ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Ankur Tyagi @ 2021-09-28 22:13 UTC (permalink / raw)
  To: buildroot; +Cc: Ankur Tyagi, Chris Packham

Otherwise build fails with following error:
Toolchain wrapper executing: '/tools/aarch64-linux-gnu/bin//aarch64-linux-gnu-gcc' '--sysroot' '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot' '-mabi=lp64' '-fstack-protector-strong' '-fstack-clash-protection' '-Wl,-z,noexecstack' '-Wl,-z,noexecheap' '-mcpu=cortex-a35' '-fPIE' '-Wl,-z,now' '-Wl,-z,relro' '-shared' 'lib/.libs/lib_libsyslog_ng_la-afinter.o' 'lib/.libs/lib_libsyslog_ng_la-alarms.o' 'lib/.libs/lib_libsyslog_ng_la-apphook.o' 'lib/.libs/lib_libsyslog_ng_la-block-ref-parser.o' 'lib/.libs/lib_libsyslog_ng_la-cache.o' 'lib/.libs/lib_libsyslog_ng_la-cfg.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-args.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer-subst.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-parser.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-path.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-tree.o' 'lib/.libs/lib_libsyslog_ng_la-cfg
 -walker.o' 'lib/.libs/lib_libsyslog_ng_la-children.o' 'lib/.libs/lib_libsyslog_ng_la-dnscache.o' 'lib/.libs/lib_libsyslog_ng_la-driver.o' 'lib/.libs/lib_libsyslog_ng_la-dynamic-window.o' 'lib/.libs/lib_libsyslog_ng_la-dynamic-window-pool.o' 'lib/.libs/lib_libsyslog_ng_la-fdhelpers.o' 'lib/.libs/lib_libsyslog_ng_la-file-perms.o' 'lib/.libs/lib_libsyslog_ng_la-find-crlf.o' 'lib/.libs/lib_libsyslog_ng_la-globals.o' 'lib/.libs/lib_libsyslog_ng_la-gprocess.o' 'lib/.libs/lib_libsyslog_ng_la-gsockaddr.o' 'lib/.libs/lib_libsyslog_ng_la-gsocket.o' 'lib/.libs/lib_libsyslog_ng_la-hostname.o' 'lib/.libs/lib_libsyslog_ng_la-host-resolve.o' 'lib/.libs/lib_libsyslog_ng_la-logmatcher.o' 'lib/.libs/lib_libsyslog_ng_la-logmpx.o' 'lib/.libs/lib_libsyslog_ng_la-logpipe.o' 'lib/.libs/lib_libsyslog_ng_la-logqueue.o' 'lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o' 'lib/.libs/lib_libsyslog_ng_la-logreader.o' 'lib/.libs/lib_libsyslog_ng_la-logsource.o' 'lib/.libs/lib_libsyslog_ng_la-logwriter.o' 'lib/.libs/
 lib_libsyslog_ng_la-mainloop.o' 'lib/.libs/lib_libsyslog_ng_la-signal-handler.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-call.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-io-worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-control.o' 'lib/.libs/lib_libsyslog_ng_la-module-config.o' 'lib/.libs/lib_libsyslog_ng_la-memtrace.o' 'lib/.libs/lib_libsyslog_ng_la-messages.o' 'lib/.libs/lib_libsyslog_ng_la-ml-batched-timer.o' 'lib/.libs/lib_libsyslog_ng_la-msg-format.o' 'lib/.libs/lib_libsyslog_ng_la-msg-stats.o' 'lib/.libs/lib_libsyslog_ng_la-parse-number.o' 'lib/.libs/lib_libsyslog_ng_la-pathutils.o' 'lib/.libs/lib_libsyslog_ng_la-persist-state.o' 'lib/.libs/lib_libsyslog_ng_la-plugin.o' 'lib/.libs/lib_libsyslog_ng_la-poll-events.o' 'lib/.libs/lib_libsyslog_ng_la-poll-fd-events.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-parser.o' 'lib/.libs/lib_libsyslog_ng_la-persistable-state-presenter.o' 'lib/.libs/lib_libsyslog_ng_la-rcptid.o' 'lib/.libs/lib
 _libsyslog_ng_la-reloc.o' 'lib/.libs/lib_libsyslog_ng_la-run-id.o' 'lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o' 'lib/.libs/lib_libsyslog_ng_la-serialize.o' 'lib/.libs/lib_libsyslog_ng_la-service-management.o' 'lib/.libs/lib_libsyslog_ng_la-str-format.o' 'lib/.libs/lib_libsyslog_ng_la-str-utils.o' 'lib/.libs/lib_libsyslog_ng_la-syslog-names.o' 'lib/.libs/lib_libsyslog_ng_la-string-list.o' 'lib/.libs/lib_libsyslog_ng_la-type-hinting.o' 'lib/.libs/lib_libsyslog_ng_la-ringbuffer.o' 'lib/.libs/lib_libsyslog_ng_la-crypto.o' 'lib/.libs/lib_libsyslog_ng_la-tlscontext.o' 'lib/.libs/lib_libsyslog_ng_la-uuid.o' 'lib/.libs/lib_libsyslog_ng_la-userdb.o' 'lib/.libs/lib_libsyslog_ng_la-utf8utils.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-tls.o' 'lib/.libs/lib_libsyslog_ng_la-host-id.o' 'lib/.libs/lib_libsyslog_ng_la-resolved-configurable-paths.o' 'lib/.libs/lib_libsyslog_ng_la-window-size-counter.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lex.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-gramma
 r.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-grammar-internal.o' 'lib/.libs/lib_libsyslog_ng_la-block-ref-grammar.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-grammar.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_bookmarkless.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_record_container_static.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_record_container_dynamic.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_bookmarkless_factory.o' 'li
 b/scanner/csv-scanner/.libs/lib_libsyslog_ng_la-csv-scanner.o' 'lib/scanner/kv-scanner/.libs/lib_libsyslog_ng_la-kv-scanner.o' 'lib/scanner/list-scanner/.libs/lib_libsyslog_ng_la-list-scanner.o' 'lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o' 'lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-aux-data.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-udp-socket.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-id.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-registry.o' 'lib/transport/.libs/lib_libsyslog_ng_la-multitransport.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-tls.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-socket.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-lo
 gproto-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-dgram-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-proxied-text-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-indented-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-record-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-builtins.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-op.o' 'l
 ib/filter/.libs/lib_libsyslog_ng_la-filter-cmp.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-in-list.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-tags.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask6.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-call.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-re.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-pri.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-pipe.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-parser.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-grammar.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-parser.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-grammar.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-tag.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-unset.o
 ' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-parser.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-grammar.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o' 'lib/template/.libs/lib_libsyslog_ng_la-templates.o' 'lib/template/.libs/lib_libsyslog_ng_la-macros.o' 'lib/template/.libs/lib_libsyslog_ng_la-eval.o' 'lib/template/.libs/lib_libsyslog_ng_la-simple-function.o' 'lib/template/.libs/lib_libsyslog_ng_la-repr.o' 'lib/template/.libs/lib_libsyslog_ng_la-compiler.o' 'lib/template/.libs/lib_libsyslog_ng_la-user-function.o' 'lib/template/.libs/lib_libsyslog_ng_la-escaping.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-value-pairs.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-transforms.o' 'lib/value-pairs/.libs/lib_libsyslog_
 ng_la-cmdline.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-evttag.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-control.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-csv.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-log.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-registry.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-query.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-query-commands.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-logpipe.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-single.o' 'lib/control/.libs/lib_libsyslog_ng_la-control.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-commands.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-main.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-server.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-tracer.
 o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger-main.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getutent.o' 'lib/compat/.libs/lib_libsyslog_ng_la-inet_aton.o' 'lib/compat/.libs/lib_libsyslog_ng_la-memrchr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-pio.o' 'lib/compat/.libs/lib_libsyslog_ng_la-glib.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strcasestr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strtok_r.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strnlen.o' 'lib/compat/.libs/lib_libsyslog_ng_la-time.o' 'lib/compat/.libs/lib_libsyslog_ng_la-openssl_support.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-sun.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-openbsd.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-generic.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-gsockaddr-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize-fixup.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvhandle-
 descriptors.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize-legacy.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-timestamp-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-decode.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-encode.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-scan-timestamp.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-conv.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-format.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-misc.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-names.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-timeutils.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-unixtime.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonecache.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonedb.o' 'lib/timeutils/.libs/lib_
 libsyslog_ng_la-zoneinfo.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-wallclocktime.o' 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o' 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o' 'lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o' 'lib/signal-slot-connector/.libs/lib_libsyslog_ng_la-signal-slot-connector.o' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/eventlog/src/.libs' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/secret-storage/.libs' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-lrt' '-L/home/user/work/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib' './lib/eventlog/src/.libs/libevtlog.so' '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcre.so' '-ldl' '-L./
 lib/ivykis/src' '/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/ivykis/src/.libs/libivykis.a' './lib/secret-storage/.libs/libsecret-storage.so' '-lgmodule-2.0' '-lgthread-2.0' '-lglib-2.0' '-lssl' '-lcrypto' '-O2' '-g' '-pthread' '-Os' '-g2' '-Wl,--export-dynamic' '-pthread' '-Wl,--whole-archive' '-Wl,--no-whole-archive' '-pthread' '-Wl,-soname' '-Wl,libsyslog-ng-3.33.so.0' '-o' 'lib/.libs/libsyslog-ng-3.33.so.0.0.0'

/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-afinter.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `afinter_message_posted' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-afinter.o: in function `afinter_register_posted_hook':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/afinter.c:576:(.text+0x120): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_fatal' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-apphook.o: in function `app_startup':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x34c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_debug' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x354): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_free_instance' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-block.o: in function `cfg_block_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:210:(.text+0x4c8): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generate' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:211:(.text+0x4d4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_format_name_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: in function `cfg_block_generator_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:57:(.text+0x144): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_free_instance' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:58:(.text+0x150): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_token_block_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o: in function `cfg_lexer_free':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-lexer.c:1172:(.text+0x16cc): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1472:(.text+0x18c4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_free_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1485:(.text+0x1958): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-walker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `arc_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-cfg-walker.o: in function `cfg_walker_get_graph':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-walker.c:86:(.text+0x160): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-dnscache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `dns_cache_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-dnscache.o: in function `dns_caching_global_deinit':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/dnscache.c:487:(.text+0x974): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_driver_plugin_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_driver_plugin_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:45:(.text+0x964): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_src_driver_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:230:(.text+0xab8): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:231:(.text+0xac4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_queue_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:232:(.text+0xad0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_dest_driver_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:388:(.text+0xb30): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:389:(.text+0xb3c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_queue_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:390:(.text+0xb48): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logpipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_pipe_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-logpipe.o: in function `log_pipe_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logpipe.c:76:(.text+0x20c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logqueue.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-logqueue.o: in function `log_queue_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue.c:257:(.text+0x6b0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_fifo_is_empty_racy' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o: in function `log_queue_fifo_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue-fifo.c:665:(.text+0xd04): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logreader.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_reader_close_proto_deferred' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-logreader.o: in function `log_reader_close_proto':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logreader.c:263:(.text+0xc58): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-logsource.o: in function `log_source_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:728:(.text+0x188c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_init' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:729:(.text+0x1898): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_deinit' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:730:(.text+0x18a4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_exit' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-mainloop.o: in function `main_loop_initialize_state':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop.c:194:(.text+0x348): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_worker_job_complete' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o: in function `_worker_thread_func':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-worker.c:343:(.text+0x2fc): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop-control.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `secret_storage_status_accumulator' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-mainloop-control.o: in function `process_credentials_status':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-control.c:209:(.text+0x3dc): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-messages.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `msg_log_func' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-messages.o: in function `msg_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/messages.c:288:(.text+0x5ac): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-plugin.o: in function `_free_candidate_plugins':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0x908): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0xd9c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-reloc.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `path_resolver_resolve' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-reloc.o: in function `path_resolver_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/reloc.c:151:(.text+0x1d8): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `scratch_buffers_register_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o: in function `scratch_buffers_global_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scratch-buffers.c:325:(.text+0x644): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_verify_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_context_setup_verify_mode':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:444:(.text+0xc54): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_info_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_session_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:349:(.text+0x10dc): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_xml_scanner_end_element' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_parse':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:340:(.text+0x584): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_start_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:365:(.text+0x674): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_end_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:366:(.text+0x680): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_text_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:367:(.text+0x68c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_push_text_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:368:(.text+0x698): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: in function `log_transport_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/logtransport.c:46:(.text+0x6c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_read_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: in function `log_transport_file_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:87:(.text+0x15c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:88:(.text+0x168): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_writev_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:89:(.text+0x174): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_pipe_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: in function `log_transport_pipe_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-pipe.c:78:(.text+0x84): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_stream_socket_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: in function `log_transport_stream_socket_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-socket.c:215:(.text+0x478): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: in function `log_proto_client_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:55:(.text+0x3c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:56:(.text+0x4c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: in function `log_proto_server_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:141:(.text+0x15c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:142:(.text+0x16c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_prepare' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: in function `log_proto_buffered_server_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:951:(.text+0x167c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_fetch' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:952:(.text+0x168c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:953:(.text+0x1698): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_restart_with_state' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:955:(.text+0x16a4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:956:(.text+0x16b0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_client_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o: in function `log_proto_text_client_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-client.c:204:(.text+0x3c4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_server_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o: in function `log_proto_text_server_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-server.c:436:(.text+0x5c0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_prefix_garbage_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_garbage_multiline_server_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:247:(.text+0x424): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_prefix_suffix_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_suffix_multiline_server_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:260:(.text+0x4a0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: in function `log_parser_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:151:(.text+0x6b4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:153:(.text+0x6cc): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: in function `log_rewrite_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:93:(.text+0x46c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:95:(.text+0x484): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o: in function `log_rewrite_set_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set.c:110:(.text+0x180): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: in function `log_rewrite_subst_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:145:(.text+0x4b8): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_process' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:147:(.text+0x4d0): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_groupset_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o: in function `log_rewrite_groupset_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-groupset.c:135:(.text+0x24c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_pri_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o: in function `log_rewrite_set_pri_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-pri.c:110:(.text+0x1f4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_severity_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o: in function `log_rewrite_set_severity_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-severity.c:140:(.text+0x228): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_facility_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o: in function `log_rewrite_set_facility_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-facility.c:139:(.text+0x21c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_types_equal' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o: in function `stats_register_type':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/stats/stats-cluster.c:63:(.text+0x28): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_connection_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:114:(.text+0x164): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:115:(.text+0x170): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_write' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:116:(.text+0x17c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_server_unix_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_server_new':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:225:(.text+0x430): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_msg_append_tags_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o: in function `log_msg_print_tags':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/logmsg.c:1087:(.text+0x1da4): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_tags_reinit_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o: in function `log_tags_global_init':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/tags.c:204:(.text+0x4ac): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `invalidate_cached_time' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o: in function `cached_g_current_time':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/timeutils/cache.c:230:(.text+0x220): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: in function `log_threaded_source_driver_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:374:(.text+0x724): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:375:(.text+0x730): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:376:(.text+0x73c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_start_worker' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:377:(.text+0x748): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: in function `log_threaded_fetcher_driver_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:365:(.text+0x728): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:366:(.text+0x734): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:367:(.text+0x740): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_worker_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:814:(.text+0x1630): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:815:(.text+0x163c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:816:(.text+0x1648): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_driver_init_instance':
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1147:(.text+0x1950): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1148:(.text+0x195c): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1150:(.text+0x1974): dangerous relocation: unsupported relocation
/tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_start_workers' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1151:(.text+0x1980): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
Makefile:10601: recipe for target 'lib/libsyslog-ng.la' failed
make[4]: *** [lib/libsyslog-ng.la] Error 1

Signed-off-by: Ankur Tyagi <ankur.tyagi@gallagher.com>
---
 package/syslog-ng/syslog-ng.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index 765e886b12..bc153472bd 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -106,6 +106,12 @@ else
 SYSLOG_NG_CONF_OPTS += --disable-afsnmp
 endif
 
+ifeq ($(BR2_PIC_PIE),y)
+SYSLOG_NG_CFLAGS += -fPIC
+SYSLOG_NG_CXXFLAGS += -fPIC
+SYSLOG_NG_CONF_OPTS += CFLAGS="$(SYSLOG_NG_CFLAGS)" CXXFLAGS="$(SYSLOG_NG_CXXFLAGS)"
+endif
+
 define SYSLOG_NG_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \
 		$(TARGET_DIR)/etc/init.d/S01syslog-ng
-- 
2.25.1

###########################################################################
This email is confidential and may contain information subject to legal 
privilege.  If you are not the intended recipient please advise us of our
error by return e-mail then delete this email and any attached files.  
You may not copy, disclose or use the contents in any way.  

The views expressed in this email may not be those of Gallagher Group 
Ltd or subsidiary companies thereof.
###########################################################################
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set
  2021-09-28 22:13 [Buildroot] [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set Ankur Tyagi
@ 2021-09-29  8:07 ` Chris Packham
  2021-09-29  9:37   ` Ankur Tyagi
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Packham @ 2021-09-29  8:07 UTC (permalink / raw)
  To: Ankur Tyagi; +Cc: buildroot

On Wed, Sep 29, 2021 at 11:13 AM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
>
> Otherwise build fails with following error:
> Toolchain wrapper executing: '/tools/aarch64-linux-gnu/bin//aarch64-linux-gnu-gcc' '--sysroot' '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot' '-mabi=lp64' '-fstack-protector-strong' '-fstack-clash-protection' '-Wl,-z,noexecstack' '-Wl,-z,noexecheap' '-mcpu=cortex-a35' '-fPIE' '-Wl,-z,now' '-Wl,-z,relro' '-shared' 'lib/.libs/lib_libsyslog_ng_la-afinter.o' 'lib/.libs/lib_libsyslog_ng_la-alarms.o' 'lib/.libs/lib_libsyslog_ng_la-apphook.o' 'lib/.libs/lib_libsyslog_ng_la-block-ref-parser.o' 'lib/.libs/lib_libsyslog_ng_la-cache.o' 'lib/.libs/lib_libsyslog_ng_la-cfg.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-args.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer-subst.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-parser.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-path.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-tree.o' 'lib/.libs/lib_libsyslog_ng_la-c
 fg-walker.o' 'lib/.libs/lib_libsyslog_ng_la-children.o' 'lib/.libs/lib_libsyslog_ng_la-dnscache.o' 'lib/.libs/lib_libsyslog_ng_la-driver.o' 'lib/.libs/lib_libsyslog_ng_la-dynamic-window.o' 'lib/.libs/lib_libsyslog_ng_la-dynamic-window-pool.o' 'lib/.libs/lib_libsyslog_ng_la-fdhelpers.o' 'lib/.libs/lib_libsyslog_ng_la-file-perms.o' 'lib/.libs/lib_libsyslog_ng_la-find-crlf.o' 'lib/.libs/lib_libsyslog_ng_la-globals.o' 'lib/.libs/lib_libsyslog_ng_la-gprocess.o' 'lib/.libs/lib_libsyslog_ng_la-gsockaddr.o' 'lib/.libs/lib_libsyslog_ng_la-gsocket.o' 'lib/.libs/lib_libsyslog_ng_la-hostname.o' 'lib/.libs/lib_libsyslog_ng_la-host-resolve.o' 'lib/.libs/lib_libsyslog_ng_la-logmatcher.o' 'lib/.libs/lib_libsyslog_ng_la-logmpx.o' 'lib/.libs/lib_libsyslog_ng_la-logpipe.o' 'lib/.libs/lib_libsyslog_ng_la-logqueue.o' 'lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o' 'lib/.libs/lib_libsyslog_ng_la-logreader.o' 'lib/.libs/lib_libsyslog_ng_la-logsource.o' 'lib/.libs/lib_libsyslog_ng_la-logwriter.o' 'lib/.lib
 s/lib_libsyslog_ng_la-mainloop.o' 'lib/.libs/lib_libsyslog_ng_la-signal-handler.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-call.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-io-worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-control.o' 'lib/.libs/lib_libsyslog_ng_la-module-config.o' 'lib/.libs/lib_libsyslog_ng_la-memtrace.o' 'lib/.libs/lib_libsyslog_ng_la-messages.o' 'lib/.libs/lib_libsyslog_ng_la-ml-batched-timer.o' 'lib/.libs/lib_libsyslog_ng_la-msg-format.o' 'lib/.libs/lib_libsyslog_ng_la-msg-stats.o' 'lib/.libs/lib_libsyslog_ng_la-parse-number.o' 'lib/.libs/lib_libsyslog_ng_la-pathutils.o' 'lib/.libs/lib_libsyslog_ng_la-persist-state.o' 'lib/.libs/lib_libsyslog_ng_la-plugin.o' 'lib/.libs/lib_libsyslog_ng_la-poll-events.o' 'lib/.libs/lib_libsyslog_ng_la-poll-fd-events.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-parser.o' 'lib/.libs/lib_libsyslog_ng_la-persistable-state-presenter.o' 'lib/.libs/lib_libsyslog_ng_la-rcptid.o' 'lib/.libs/l
 ib_libsyslog_ng_la-reloc.o' 'lib/.libs/lib_libsyslog_ng_la-run-id.o' 'lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o' 'lib/.libs/lib_libsyslog_ng_la-serialize.o' 'lib/.libs/lib_libsyslog_ng_la-service-management.o' 'lib/.libs/lib_libsyslog_ng_la-str-format.o' 'lib/.libs/lib_libsyslog_ng_la-str-utils.o' 'lib/.libs/lib_libsyslog_ng_la-syslog-names.o' 'lib/.libs/lib_libsyslog_ng_la-string-list.o' 'lib/.libs/lib_libsyslog_ng_la-type-hinting.o' 'lib/.libs/lib_libsyslog_ng_la-ringbuffer.o' 'lib/.libs/lib_libsyslog_ng_la-crypto.o' 'lib/.libs/lib_libsyslog_ng_la-tlscontext.o' 'lib/.libs/lib_libsyslog_ng_la-uuid.o' 'lib/.libs/lib_libsyslog_ng_la-userdb.o' 'lib/.libs/lib_libsyslog_ng_la-utf8utils.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-tls.o' 'lib/.libs/lib_libsyslog_ng_la-host-id.o' 'lib/.libs/lib_libsyslog_ng_la-resolved-configurable-paths.o' 'lib/.libs/lib_libsyslog_ng_la-window-size-counter.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lex.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-gram
 mar.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-grammar-internal.o' 'lib/.libs/lib_libsyslog_ng_la-block-ref-grammar.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-grammar.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_bookmarkless.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_record_container_static.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_record_container_dynamic.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_bookmarkless_factory.o' '
 lib/scanner/csv-scanner/.libs/lib_libsyslog_ng_la-csv-scanner.o' 'lib/scanner/kv-scanner/.libs/lib_libsyslog_ng_la-kv-scanner.o' 'lib/scanner/list-scanner/.libs/lib_libsyslog_ng_la-list-scanner.o' 'lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o' 'lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-aux-data.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-udp-socket.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-id.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-registry.o' 'lib/transport/.libs/lib_libsyslog_ng_la-multitransport.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-tls.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-socket.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-
 logproto-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-dgram-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-proxied-text-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-indented-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-record-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-builtins.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-op.o' 
 'lib/filter/.libs/lib_libsyslog_ng_la-filter-cmp.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-in-list.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-tags.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask6.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-call.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-re.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-pri.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-pipe.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-parser.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-grammar.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-parser.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-grammar.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-tag.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-unset
 .o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-parser.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-grammar.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o' 'lib/template/.libs/lib_libsyslog_ng_la-templates.o' 'lib/template/.libs/lib_libsyslog_ng_la-macros.o' 'lib/template/.libs/lib_libsyslog_ng_la-eval.o' 'lib/template/.libs/lib_libsyslog_ng_la-simple-function.o' 'lib/template/.libs/lib_libsyslog_ng_la-repr.o' 'lib/template/.libs/lib_libsyslog_ng_la-compiler.o' 'lib/template/.libs/lib_libsyslog_ng_la-user-function.o' 'lib/template/.libs/lib_libsyslog_ng_la-escaping.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-value-pairs.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-transforms.o' 'lib/value-pairs/.libs/lib_libsyslo
 g_ng_la-cmdline.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-evttag.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-control.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-csv.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-log.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-registry.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-query.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-query-commands.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-logpipe.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-single.o' 'lib/control/.libs/lib_libsyslog_ng_la-control.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-commands.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-main.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-server.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-trace
 r.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger-main.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getutent.o' 'lib/compat/.libs/lib_libsyslog_ng_la-inet_aton.o' 'lib/compat/.libs/lib_libsyslog_ng_la-memrchr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-pio.o' 'lib/compat/.libs/lib_libsyslog_ng_la-glib.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strcasestr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strtok_r.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strnlen.o' 'lib/compat/.libs/lib_libsyslog_ng_la-time.o' 'lib/compat/.libs/lib_libsyslog_ng_la-openssl_support.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-sun.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-openbsd.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-generic.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-gsockaddr-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize-fixup.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvhandl
 e-descriptors.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize-legacy.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-timestamp-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-decode.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-encode.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-scan-timestamp.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-conv.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-format.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-misc.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-names.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-timeutils.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-unixtime.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonecache.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonedb.o' 'lib/timeutils/.libs/li
 b_libsyslog_ng_la-zoneinfo.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-wallclocktime.o' 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o' 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o' 'lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o' 'lib/signal-slot-connector/.libs/lib_libsyslog_ng_la-signal-slot-connector.o' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/eventlog/src/.libs' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/secret-storage/.libs' '-Wl,-rpath' '-Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-lrt' '-L/home/user/work/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib' './lib/eventlog/src/.libs/libevtlog.so' '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcre.so' '-ldl' '-L
 ./lib/ivykis/src' '/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/ivykis/src/.libs/libivykis.a' './lib/secret-storage/.libs/libsecret-storage.so' '-lgmodule-2.0' '-lgthread-2.0' '-lglib-2.0' '-lssl' '-lcrypto' '-O2' '-g' '-pthread' '-Os' '-g2' '-Wl,--export-dynamic' '-pthread' '-Wl,--whole-archive' '-Wl,--no-whole-archive' '-pthread' '-Wl,-soname' '-Wl,libsyslog-ng-3.33.so.0' '-o' 'lib/.libs/libsyslog-ng-3.33.so.0.0.0'
>
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-afinter.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `afinter_message_posted' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-afinter.o: in function `afinter_register_posted_hook':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/afinter.c:576:(.text+0x120): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_fatal' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-apphook.o: in function `app_startup':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x34c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_debug' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x354): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_free_instance' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-block.o: in function `cfg_block_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:210:(.text+0x4c8): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generate' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:211:(.text+0x4d4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_format_name_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: in function `cfg_block_generator_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:57:(.text+0x144): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_free_instance' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:58:(.text+0x150): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_token_block_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o: in function `cfg_lexer_free':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-lexer.c:1172:(.text+0x16cc): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1472:(.text+0x18c4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_free_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1485:(.text+0x1958): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-walker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `arc_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-cfg-walker.o: in function `cfg_walker_get_graph':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-walker.c:86:(.text+0x160): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-dnscache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `dns_cache_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-dnscache.o: in function `dns_caching_global_deinit':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/dnscache.c:487:(.text+0x974): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_driver_plugin_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_driver_plugin_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:45:(.text+0x964): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_src_driver_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:230:(.text+0xab8): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:231:(.text+0xac4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_queue_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:232:(.text+0xad0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_dest_driver_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:388:(.text+0xb30): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:389:(.text+0xb3c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_queue_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:390:(.text+0xb48): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logpipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_pipe_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-logpipe.o: in function `log_pipe_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logpipe.c:76:(.text+0x20c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logqueue.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-logqueue.o: in function `log_queue_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue.c:257:(.text+0x6b0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_fifo_is_empty_racy' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o: in function `log_queue_fifo_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue-fifo.c:665:(.text+0xd04): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logreader.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_reader_close_proto_deferred' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-logreader.o: in function `log_reader_close_proto':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logreader.c:263:(.text+0xc58): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-logsource.o: in function `log_source_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:728:(.text+0x188c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_init' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:729:(.text+0x1898): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_deinit' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:730:(.text+0x18a4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_exit' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-mainloop.o: in function `main_loop_initialize_state':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop.c:194:(.text+0x348): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_worker_job_complete' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o: in function `_worker_thread_func':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-worker.c:343:(.text+0x2fc): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-mainloop-control.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `secret_storage_status_accumulator' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-mainloop-control.o: in function `process_credentials_status':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-control.c:209:(.text+0x3dc): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-messages.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `msg_log_func' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-messages.o: in function `msg_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/messages.c:288:(.text+0x5ac): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-plugin.o: in function `_free_candidate_plugins':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0x908): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0xd9c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-reloc.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `path_resolver_resolve' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-reloc.o: in function `path_resolver_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/reloc.c:151:(.text+0x1d8): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `scratch_buffers_register_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o: in function `scratch_buffers_global_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scratch-buffers.c:325:(.text+0x644): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_verify_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_context_setup_verify_mode':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:444:(.text+0xc54): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_info_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_session_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:349:(.text+0x10dc): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_xml_scanner_end_element' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_parse':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:340:(.text+0x584): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_start_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:365:(.text+0x674): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_end_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:366:(.text+0x680): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_text_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:367:(.text+0x68c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_push_text_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:368:(.text+0x698): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: in function `log_transport_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/logtransport.c:46:(.text+0x6c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_read_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: in function `log_transport_file_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:87:(.text+0x15c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:88:(.text+0x168): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_file_writev_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:89:(.text+0x174): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_pipe_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: in function `log_transport_pipe_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-pipe.c:78:(.text+0x84): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_transport_stream_socket_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: in function `log_transport_stream_socket_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-socket.c:215:(.text+0x478): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: in function `log_proto_client_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:55:(.text+0x3c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:56:(.text+0x4c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: in function `log_proto_server_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:141:(.text+0x15c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:142:(.text+0x16c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_prepare' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: in function `log_proto_buffered_server_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:951:(.text+0x167c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_fetch' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:952:(.text+0x168c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:953:(.text+0x1698): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_restart_with_state' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:955:(.text+0x16a4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_validate_options_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:956:(.text+0x16b0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_client_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o: in function `log_proto_text_client_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-client.c:204:(.text+0x3c4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_server_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o: in function `log_proto_text_server_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-server.c:436:(.text+0x5c0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_prefix_garbage_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_garbage_multiline_server_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:247:(.text+0x424): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_prefix_suffix_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_suffix_multiline_server_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:260:(.text+0x4a0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: in function `log_parser_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:151:(.text+0x6b4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:153:(.text+0x6cc): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: in function `log_rewrite_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:93:(.text+0x46c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:95:(.text+0x484): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o: in function `log_rewrite_set_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set.c:110:(.text+0x180): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: in function `log_rewrite_subst_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:145:(.text+0x4b8): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_process' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:147:(.text+0x4d0): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_groupset_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o: in function `log_rewrite_groupset_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-groupset.c:135:(.text+0x24c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_pri_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o: in function `log_rewrite_set_pri_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-pri.c:110:(.text+0x1f4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_severity_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o: in function `log_rewrite_set_severity_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-severity.c:140:(.text+0x228): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_facility_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o: in function `log_rewrite_set_facility_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-facility.c:139:(.text+0x21c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_types_equal' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o: in function `stats_register_type':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/stats/stats-cluster.c:63:(.text+0x28): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_connection_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:114:(.text+0x164): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_read' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:115:(.text+0x170): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_write' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:116:(.text+0x17c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_server_unix_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_server_new':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:225:(.text+0x430): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_msg_append_tags_callback' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o: in function `log_msg_print_tags':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/logmsg.c:1087:(.text+0x1da4): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_tags_reinit_stats' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o: in function `log_tags_global_init':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/tags.c:204:(.text+0x4ac): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `invalidate_cached_time' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o: in function `cached_g_current_time':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/timeutils/cache.c:230:(.text+0x220): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: in function `log_threaded_source_driver_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:374:(.text+0x724): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:375:(.text+0x730): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:376:(.text+0x73c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_source_driver_start_worker' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:377:(.text+0x748): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: in function `log_threaded_fetcher_driver_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:365:(.text+0x728): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:366:(.text+0x734): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_fetcher_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:367:(.text+0x740): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_worker_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:814:(.text+0x1630): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:815:(.text+0x163c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_worker_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:816:(.text+0x1648): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_driver_init_instance':
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1147:(.text+0x1950): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1148:(.text+0x195c): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1150:(.text+0x1974): dangerous relocation: unsupported relocation
> /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_threaded_dest_driver_start_workers' which may bind externally can not be used when making a shared object; recompile with -fPIC
> /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1151:(.text+0x1980): dangerous relocation: unsupported relocation
> collect2: error: ld returned 1 exit status
> Makefile:10601: recipe for target 'lib/libsyslog-ng.la' failed
> make[4]: *** [lib/libsyslog-ng.la] Error 1

I think we can selectively quote part of the error. We don't need the
whole thing.

>
> Signed-off-by: Ankur Tyagi <ankur.tyagi@gallagher.com>
> ---
>  package/syslog-ng/syslog-ng.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
> index 765e886b12..bc153472bd 100644
> --- a/package/syslog-ng/syslog-ng.mk
> +++ b/package/syslog-ng/syslog-ng.mk
> @@ -106,6 +106,12 @@ else
>  SYSLOG_NG_CONF_OPTS += --disable-afsnmp
>  endif
>
> +ifeq ($(BR2_PIC_PIE),y)
> +SYSLOG_NG_CFLAGS += -fPIC
> +SYSLOG_NG_CXXFLAGS += -fPIC
> +SYSLOG_NG_CONF_OPTS += CFLAGS="$(SYSLOG_NG_CFLAGS)" CXXFLAGS="$(SYSLOG_NG_CXXFLAGS)"
> +endif
> +

I don't think -fPIC will do any harm on non PIE systems looking at
other examples I think the following would be better

SYSLOG_NG_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"

>  define SYSLOG_NG_INSTALL_INIT_SYSV
>         $(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \
>                 $(TARGET_DIR)/etc/init.d/S01syslog-ng
> --
> 2.25.1
>
> ###########################################################################
> This email is confidential and may contain information subject to legal
> privilege.  If you are not the intended recipient please advise us of our
> error by return e-mail then delete this email and any attached files.
> You may not copy, disclose or use the contents in any way.
>
> The views expressed in this email may not be those of Gallagher Group
> Ltd or subsidiary companies thereof.
> ###########################################################################
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set
  2021-09-29  8:07 ` Chris Packham
@ 2021-09-29  9:37   ` Ankur Tyagi
  0 siblings, 0 replies; 3+ messages in thread
From: Ankur Tyagi @ 2021-09-29  9:37 UTC (permalink / raw)
  To: Chris Packham; +Cc: buildroot



> -----Original Message-----
> From: Chris Packham <judge.packham@gmail.com>
> Sent: Wednesday, 29 September 2021 9:08 PM
> To: Ankur Tyagi <Ankur.Tyagi@gallagher.com>
> Cc: buildroot <buildroot@buildroot.org>
> Subject: Re: [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set
>
> On Wed, Sep 29, 2021 at 11:13 AM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> >
> > Otherwise build fails with following error:
> > Toolchain wrapper executing: '/tools/aarch64-linux-gnu/bin//aarch64-linux-gnu-gcc' '--sysroot'
> '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot' '-mabi=lp64' '-fstack-protector-strong' '-fstack-clash-
> protection' '-Wl,-z,noexecstack' '-Wl,-z,noexecheap' '-mcpu=cortex-a35' '-fPIE' '-Wl,-z,now' '-Wl,-z,relro' '-shared'
> 'lib/.libs/lib_libsyslog_ng_la-afinter.o' 'lib/.libs/lib_libsyslog_ng_la-alarms.o' 'lib/.libs/lib_libsyslog_ng_la-apphook.o'
> 'lib/.libs/lib_libsyslog_ng_la-block-ref-parser.o' 'lib/.libs/lib_libsyslog_ng_la-cache.o' 'lib/.libs/lib_libsyslog_ng_la-cfg.o'
> 'lib/.libs/lib_libsyslog_ng_la-cfg-args.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o'
> 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lexer-subst.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-parser.o'
> 'lib/.libs/lib_libsyslog_ng_la-cfg-path.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-tree.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-walker.o'
> 'lib/.libs/lib_libsyslog_ng_la-children.o' 'lib/.libs/lib_libsyslog_ng_la-dnscache.o' 'lib/.libs/lib_libsyslog_ng_la-driver.o'
> 'lib/.libs/lib_libsyslog_ng_la-dynamic-window.o' 'lib/.libs/lib_libsyslog_ng_la-dynamic-window-pool.o' 'lib/.libs/lib_libsyslog_ng_la-
> fdhelpers.o' 'lib/.libs/lib_libsyslog_ng_la-file-perms.o' 'lib/.libs/lib_libsyslog_ng_la-find-crlf.o' 'lib/.libs/lib_libsyslog_ng_la-globals.o'
> 'lib/.libs/lib_libsyslog_ng_la-gprocess.o' 'lib/.libs/lib_libsyslog_ng_la-gsockaddr.o' 'lib/.libs/lib_libsyslog_ng_la-gsocket.o'
> 'lib/.libs/lib_libsyslog_ng_la-hostname.o' 'lib/.libs/lib_libsyslog_ng_la-host-resolve.o' 'lib/.libs/lib_libsyslog_ng_la-logmatcher.o'
> 'lib/.libs/lib_libsyslog_ng_la-logmpx.o' 'lib/.libs/lib_libsyslog_ng_la-logpipe.o' 'lib/.libs/lib_libsyslog_ng_la-logqueue.o'
> 'lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o' 'lib/.libs/lib_libsyslog_ng_la-logreader.o' 'lib/.libs/lib_libsyslog_ng_la-logsource.o'
> 'lib/.libs/lib_libsyslog_ng_la-logwriter.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop.o' 'lib/.libs/lib_libsyslog_ng_la-signal-handler.o'
> 'lib/.libs/lib_libsyslog_ng_la-mainloop-call.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-io-
> worker.o' 'lib/.libs/lib_libsyslog_ng_la-mainloop-control.o' 'lib/.libs/lib_libsyslog_ng_la-module-config.o' 'lib/.libs/lib_libsyslog_ng_la-
> memtrace.o' 'lib/.libs/lib_libsyslog_ng_la-messages.o' 'lib/.libs/lib_libsyslog_ng_la-ml-batched-timer.o' 'lib/.libs/lib_libsyslog_ng_la-msg-
> format.o' 'lib/.libs/lib_libsyslog_ng_la-msg-stats.o' 'lib/.libs/lib_libsyslog_ng_la-parse-number.o' 'lib/.libs/lib_libsyslog_ng_la-pathutils.o'
> 'lib/.libs/lib_libsyslog_ng_la-persist-state.o' 'lib/.libs/lib_libsyslog_ng_la-plugin.o' 'lib/.libs/lib_libsyslog_ng_la-poll-events.o'
> 'lib/.libs/lib_libsyslog_ng_la-poll-fd-events.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-parser.o' 'lib/.libs/lib_libsyslog_ng_la-persistable-state-
> presenter.o' 'lib/.libs/lib_libsyslog_ng_la-rcptid.o' 'lib/.libs/lib_libsyslog_ng_la-reloc.o' 'lib/.libs/lib_libsyslog_ng_la-run-id.o'
> 'lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o' 'lib/.libs/lib_libsyslog_ng_la-serialize.o' 'lib/.libs/lib_libsyslog_ng_la-service-management.o'
> 'lib/.libs/lib_libsyslog_ng_la-str-format.o' 'lib/.libs/lib_libsyslog_ng_la-str-utils.o' 'lib/.libs/lib_libsyslog_ng_la-syslog-names.o'
> 'lib/.libs/lib_libsyslog_ng_la-string-list.o' 'lib/.libs/lib_libsyslog_ng_la-type-hinting.o' 'lib/.libs/lib_libsyslog_ng_la-ringbuffer.o'
> 'lib/.libs/lib_libsyslog_ng_la-crypto.o' 'lib/.libs/lib_libsyslog_ng_la-tlscontext.o' 'lib/.libs/lib_libsyslog_ng_la-uuid.o'
> 'lib/.libs/lib_libsyslog_ng_la-userdb.o' 'lib/.libs/lib_libsyslog_ng_la-utf8utils.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-tls.o'
> 'lib/.libs/lib_libsyslog_ng_la-host-id.o' 'lib/.libs/lib_libsyslog_ng_la-resolved-configurable-paths.o' 'lib/.libs/lib_libsyslog_ng_la-window-
> size-counter.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-lex.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-grammar.o' 'lib/.libs/lib_libsyslog_ng_la-cfg-
> grammar-internal.o' 'lib/.libs/lib_libsyslog_ng_la-block-ref-grammar.o' 'lib/.libs/lib_libsyslog_ng_la-pragma-grammar.o' 'lib/ack-
> tracker/.libs/lib_libsyslog_ng_la-ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker.o' 'lib/ack-
> tracker/.libs/lib_libsyslog_ng_la-batched_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker.o' 'lib/ack-
> tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_bookmarkless.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker.o'
> 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-
> consecutive_ack_record_container_static.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-consecutive_ack_record_container_dynamic.o'
> 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-instant_ack_tracker_factory.o' 'lib/ack-tracker/.libs/lib_libsyslog_ng_la-
> instant_ack_tracker_bookmarkless_factory.o' 'lib/scanner/csv-scanner/.libs/lib_libsyslog_ng_la-csv-scanner.o' 'lib/scanner/kv-
> scanner/.libs/lib_libsyslog_ng_la-kv-scanner.o' 'lib/scanner/list-scanner/.libs/lib_libsyslog_ng_la-list-scanner.o' 'lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o' 'lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o'
> 'lib/transport/.libs/lib_libsyslog_ng_la-transport-aux-data.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o'
> 'lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o'
> 'lib/transport/.libs/lib_libsyslog_ng_la-transport-udp-socket.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-id.o'
> 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-registry.o' 'lib/transport/.libs/lib_libsyslog_ng_la-multitransport.o'
> 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-tls.o' 'lib/transport/.libs/lib_libsyslog_ng_la-transport-factory-socket.o'
> 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o'
> 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-dgram-server.o'
> 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-framed-server.o'
> 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o'
> 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-proxied-text-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-indented-multiline-
> server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-
> multiline-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-record-server.o' 'lib/logproto/.libs/lib_libsyslog_ng_la-logproto-
> builtins.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-op.o' 'lib/filter/.libs/lib_libsyslog_ng_la-
> filter-cmp.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-in-list.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-tags.o'
> 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-netmask6.o' 'lib/filter/.libs/lib_libsyslog_ng_la-
> filter-call.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-re.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-pri.o' 'lib/filter/.libs/lib_libsyslog_ng_la-
> filter-pipe.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-parser.o' 'lib/filter/.libs/lib_libsyslog_ng_la-filter-expr-grammar.o'
> 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o' 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-parser.o'
> 'lib/parser/.libs/lib_libsyslog_ng_la-parser-expr-grammar.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o'
> 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-tag.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o'
> 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-unset.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o'
> 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-parser.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr-grammar.o'
> 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o'
> 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o' 'lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o'
> 'lib/template/.libs/lib_libsyslog_ng_la-templates.o' 'lib/template/.libs/lib_libsyslog_ng_la-macros.o' 'lib/template/.libs/lib_libsyslog_ng_la-
> eval.o' 'lib/template/.libs/lib_libsyslog_ng_la-simple-function.o' 'lib/template/.libs/lib_libsyslog_ng_la-repr.o'
> 'lib/template/.libs/lib_libsyslog_ng_la-compiler.o' 'lib/template/.libs/lib_libsyslog_ng_la-user-function.o'
> 'lib/template/.libs/lib_libsyslog_ng_la-escaping.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-value-pairs.o' 'lib/value-
> pairs/.libs/lib_libsyslog_ng_la-transforms.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-cmdline.o' 'lib/value-pairs/.libs/lib_libsyslog_ng_la-
> evttag.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-control.o' 'lib/stats/.libs/lib_libsyslog_ng_la-
> stats-cluster.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-csv.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-log.o'
> 'lib/stats/.libs/lib_libsyslog_ng_la-stats-registry.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-query.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-
> query-commands.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-logpipe.o' 'lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster-single.o'
> 'lib/control/.libs/lib_libsyslog_ng_la-control.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-commands.o'
> 'lib/control/.libs/lib_libsyslog_ng_la-control-main.o' 'lib/control/.libs/lib_libsyslog_ng_la-control-server.o'
> 'lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger.o'
> 'lib/debugger/.libs/lib_libsyslog_ng_la-tracer.o' 'lib/debugger/.libs/lib_libsyslog_ng_la-debugger-main.o'
> 'lib/compat/.libs/lib_libsyslog_ng_la-getutent.o' 'lib/compat/.libs/lib_libsyslog_ng_la-inet_aton.o' 'lib/compat/.libs/lib_libsyslog_ng_la-
> memrchr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-pio.o' 'lib/compat/.libs/lib_libsyslog_ng_la-glib.o' 'lib/compat/.libs/lib_libsyslog_ng_la-
> strcasestr.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strtok_r.o' 'lib/compat/.libs/lib_libsyslog_ng_la-strnlen.o'
> 'lib/compat/.libs/lib_libsyslog_ng_la-time.o' 'lib/compat/.libs/lib_libsyslog_ng_la-openssl_support.o' 'lib/compat/.libs/lib_libsyslog_ng_la-
> getent-sun.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-openbsd.o' 'lib/compat/.libs/lib_libsyslog_ng_la-getent-generic.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-gsockaddr-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg-serialize-fixup.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvhandle-descriptors.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-nvtable-serialize-legacy.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags-serialize.o' 'lib/logmsg/.libs/lib_libsyslog_ng_la-timestamp-serialize.o'
> 'lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-decode.o' 'lib/str-repr/.libs/lib_libsyslog_ng_la-encode.o'
> 'lib/timeutils/.libs/lib_libsyslog_ng_la-scan-timestamp.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o'
> 'lib/timeutils/.libs/lib_libsyslog_ng_la-conv.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-format.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-misc.o'
> 'lib/timeutils/.libs/lib_libsyslog_ng_la-names.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-timeutils.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-
> unixtime.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonecache.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-zonedb.o'
> 'lib/timeutils/.libs/lib_libsyslog_ng_la-zoneinfo.o' 'lib/timeutils/.libs/lib_libsyslog_ng_la-wallclocktime.o'
> 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o' 'lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o'
> 'lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o' 'lib/signal-slot-connector/.libs/lib_libsyslog_ng_la-signal-slot-connector.o' '-Wl,-
> rpath' '-Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/eventlog/src/.libs' '-Wl,-rpath' '-
> Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-Wl,-rpath' '-
> Wl,/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/secret-storage/.libs' '-Wl,-rpath' '-
> Wl,/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib' '-lrt' '-
> L/home/user/work/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib' './lib/eventlog/src/.libs/libevtlog.so'
> '/home/user/work/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcre.so' '-ldl' '-L./lib/ivykis/src'
> '/home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/ivykis/src/.libs/libivykis.a' './lib/secret-storage/.libs/libsecret-storage.so' '-
> lgmodule-2.0' '-lgthread-2.0' '-lglib-2.0' '-lssl' '-lcrypto' '-O2' '-g' '-pthread' '-Os' '-g2' '-Wl,--export-dynamic' '-pthread' '-Wl,--whole-archive'
> '-Wl,--no-whole-archive' '-pthread' '-Wl,-soname' '-Wl,libsyslog-ng-3.33.so.0' '-o' 'lib/.libs/libsyslog-ng-3.33.so.0.0.0'
> >
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-afinter.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `afinter_message_posted' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-afinter.o: in function `afinter_register_posted_hook':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/afinter.c:576:(.text+0x120): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_fatal' which may bind externally can
> not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-apphook.o: in function `app_startup':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x34c): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> apphook.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `nondumpable_allocator_msg_debug' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/apphook.c:185:(.text+0x354): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_free_instance' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-block.o: in function `cfg_block_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:210:(.text+0x4c8): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> block.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generate' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block.c:211:(.text+0x4d4): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_format_name_method' which may
> bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-block-generator.o: in function `cfg_block_generator_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:57:(.text+0x144): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> block-generator.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_block_generator_free_instance' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-block-generator.c:58:(.text+0x150): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> lexer.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cfg_token_block_free' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-lexer.o: in function `cfg_lexer_free':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-lexer.c:1172:(.text+0x16cc): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1472:(.text+0x18c4): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> tree.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_expr_node_unref' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-tree.o: in function `cfg_tree_free_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-tree.c:1485:(.text+0x1958): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-cfg-
> walker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `arc_free' which may bind externally can not be used when making a
> shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-cfg-walker.o: in function `cfg_walker_get_graph':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/cfg-walker.c:86:(.text+0x160): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> dnscache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `dns_cache_free' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-dnscache.o: in function `dns_caching_global_deinit':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/dnscache.c:487:(.text+0x974): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_driver_plugin_free_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_driver_plugin_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:45:(.text+0x964): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_init_method' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_src_driver_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:230:(.text+0xab8): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_deinit_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:231:(.text+0xac4): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_src_driver_queue_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:232:(.text+0xad0): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_init_method' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-driver.o: in function `log_dest_driver_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:388:(.text+0xb30): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_deinit_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:389:(.text+0xb3c): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-driver.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_dest_driver_queue_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/driver.c:390:(.text+0xb48): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logpipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_pipe_free_method' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-logpipe.o: in function `log_pipe_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logpipe.c:76:(.text+0x20c): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logqueue.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_free_method' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-logqueue.o: in function `log_queue_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue.c:257:(.text+0x6b0): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logqueue-fifo.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_queue_fifo_is_empty_racy' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-logqueue-fifo.o: in function `log_queue_fifo_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logqueue-fifo.c:665:(.text+0xd04): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logreader.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_reader_close_proto_deferred' which may bind externally can
> not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-logreader.o: in function `log_reader_close_proto':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logreader.c:263:(.text+0xc58): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_free' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-logsource.o: in function `log_source_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:728:(.text+0x188c): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_init' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:729:(.text+0x1898): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> logsource.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_source_deinit' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logsource.c:730:(.text+0x18a4): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> mainloop.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_exit' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-mainloop.o: in function `main_loop_initialize_state':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop.c:194:(.text+0x348): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> mainloop-worker.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `main_loop_worker_job_complete' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-mainloop-worker.o: in function `_worker_thread_func':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-worker.c:343:(.text+0x2fc): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> mainloop-control.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `secret_storage_status_accumulator' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-mainloop-control.o: in function `process_credentials_status':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/mainloop-control.c:209:(.text+0x3dc): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> messages.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `msg_log_func' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-messages.o: in function `msg_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/messages.c:288:(.text+0x5ac): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-plugin.o: in function `_free_candidate_plugins':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0x908): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-plugin.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `plugin_candidate_free' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/plugin.c:436:(.text+0xd9c): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-reloc.o:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `path_resolver_resolve' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-reloc.o: in function `path_resolver_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/reloc.c:151:(.text+0x1d8): dangerous relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-scratch-
> buffers.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `scratch_buffers_register_stats' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-scratch-buffers.o: in function `scratch_buffers_global_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scratch-buffers.c:325:(.text+0x644): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_verify_callback' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_context_setup_verify_mode':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:444:(.text+0xc54): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/lib_libsyslog_ng_la-
> tlscontext.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `tls_session_info_callback' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > lib/.libs/lib_libsyslog_ng_la-tlscontext.o: in function `tls_session_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/tlscontext.c:349:(.text+0x10dc): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_xml_scanner_end_element'
> which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_parse':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:340:(.text+0x584): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `xml_scanner_start_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/scanner/xml-scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: in function `xml_scanner_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:365:(.text+0x674): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `xml_scanner_end_element_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:366:(.text+0x680): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `xml_scanner_text_method'
> which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:367:(.text+0x68c): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/scanner/xml-
> scanner/.libs/lib_libsyslog_ng_la-xml-scanner.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `xml_scanner_push_text_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/scanner/xml-scanner/xml-scanner.c:368:(.text+0x698): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/transport/.libs/lib_libsyslog_ng_la-logtransport.o: in function `log_transport_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/logtransport.c:46:(.text+0x6c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_file_read_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: in function `log_transport_file_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:87:(.text+0x15c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_file_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:88:(.text+0x168): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-transport-file.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_file_writev_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-file.c:89:(.text+0x174): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_pipe_write_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/transport/.libs/lib_libsyslog_ng_la-transport-pipe.o: in function `log_transport_pipe_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-pipe.c:78:(.text+0x84): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_transport_stream_socket_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/transport/.libs/lib_libsyslog_ng_la-transport-socket.o: in function `log_transport_stream_socket_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/transport/transport-socket.c:215:(.text+0x478): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_validate_options_method' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-client.o: in function `log_proto_client_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:55:(.text+0x3c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_client_free_method' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-client.c:56:(.text+0x4c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_validate_options_method' which may
> bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-server.o: in function `log_proto_server_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:141:(.text+0x15c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_server_free_method' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-server.c:142:(.text+0x16c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_prepare' which may
> bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-buffered-server.o: in function `log_proto_buffered_server_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:951:(.text+0x167c): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_fetch' which may
> bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:952:(.text+0x168c): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_free_method' which
> may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:953:(.text+0x1698): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_buffered_server_restart_with_state'
> which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:955:(.text+0x16a4): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-buffered-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_proto_buffered_server_validate_options_method' which may bind externally can not be used when making a shared object; recompile
> with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-buffered-server.c:956:(.text+0x16b0): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-text-client.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_client_free' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-client.o: in function `log_proto_text_client_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-client.c:204:(.text+0x3c4): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-text-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_proto_text_server_free' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-text-server.o: in function `log_proto_text_server_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-text-server.c:436:(.text+0x5c0): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_proto_prefix_garbage_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object;
> recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_garbage_multiline_server_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:247:(.text+0x424): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logproto/.libs/lib_libsyslog_ng_la-
> logproto-regexp-multiline-server.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_proto_prefix_suffix_multiline_get_offset_of_garbage' which may bind externally can not be used when making a shared object;
> recompile with -fPIC
> > lib/logproto/.libs/lib_libsyslog_ng_la-logproto-regexp-multiline-server.o: in function `log_proto_prefix_suffix_multiline_server_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logproto/logproto-regexp-multiline-server.c:260:(.text+0x4a0): dangerous
> relocation: unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-
> parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_init_method' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > lib/parser/.libs/lib_libsyslog_ng_la-parser-expr.o: in function `log_parser_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:151:(.text+0x6b4): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/parser/.libs/lib_libsyslog_ng_la-
> parser-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_parser_free_method' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/parser/parser-expr.c:153:(.text+0x6cc): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_free_method' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-expr.o: in function `log_rewrite_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:93:(.text+0x46c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-expr.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_init_method' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-expr.c:95:(.text+0x484): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-set.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_init_method' which may bind externally can
> not be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set.o: in function `log_rewrite_set_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set.c:110:(.text+0x180): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_free' which may bind externally can not be
> used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-subst.o: in function `log_rewrite_subst_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:145:(.text+0x4b8): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-subst.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_subst_process' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-subst.c:147:(.text+0x4d0): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-groupset.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_groupset_free' which may bind externally can
> not be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-groupset.o: in function `log_rewrite_groupset_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-groupset.c:135:(.text+0x24c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-set-pri.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_pri_free' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-pri.o: in function `log_rewrite_set_pri_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-pri.c:110:(.text+0x1f4): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-set-severity.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_severity_free' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-severity.o: in function `log_rewrite_set_severity_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-severity.c:140:(.text+0x228): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/rewrite/.libs/lib_libsyslog_ng_la-
> rewrite-set-facility.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_rewrite_set_facility_free' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > lib/rewrite/.libs/lib_libsyslog_ng_la-rewrite-set-facility.o: in function `log_rewrite_set_facility_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/rewrite/rewrite-set-facility.c:139:(.text+0x21c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/stats/.libs/lib_libsyslog_ng_la-
> stats-cluster.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_types_equal' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/stats/.libs/lib_libsyslog_ng_la-stats-cluster.o: in function `stats_register_type':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/stats/stats-cluster.c:63:(.text+0x28): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-
> control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_free' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_connection_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:114:(.text+0x164): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-
> control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_read' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:115:(.text+0x170): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-
> control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_connection_unix_write' which may bind
> externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:116:(.text+0x17c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/control/.libs/lib_libsyslog_ng_la-
> control-server-unix.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `control_server_unix_free' which may bind externally
> can not be used when making a shared object; recompile with -fPIC
> > lib/control/.libs/lib_libsyslog_ng_la-control-server-unix.o: in function `control_server_new':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/control/control-server-unix.c:225:(.text+0x430): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-
> logmsg.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_msg_append_tags_callback' which may bind externally can not
> be used when making a shared object; recompile with -fPIC
> > lib/logmsg/.libs/lib_libsyslog_ng_la-logmsg.o: in function `log_msg_print_tags':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/logmsg.c:1087:(.text+0x1da4): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/logmsg/.libs/lib_libsyslog_ng_la-
> tags.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `log_tags_reinit_stats' which may bind externally can not be used when
> making a shared object; recompile with -fPIC
> > lib/logmsg/.libs/lib_libsyslog_ng_la-tags.o: in function `log_tags_global_init':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logmsg/tags.c:204:(.text+0x4ac): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: lib/timeutils/.libs/lib_libsyslog_ng_la-
> cache.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `invalidate_cached_time' which may bind externally can not be used
> when making a shared object; recompile with -fPIC
> > lib/timeutils/.libs/lib_libsyslog_ng_la-cache.o: in function `cached_g_current_time':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/timeutils/cache.c:230:(.text+0x220): dangerous relocation: unsupported
> relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_source_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: in function `log_threaded_source_driver_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:374:(.text+0x724): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_source_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:375:(.text+0x730): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_source_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:376:(.text+0x73c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrsourcedrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_source_driver_start_worker' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrsourcedrv.c:377:(.text+0x748): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_fetcher_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: in function `log_threaded_fetcher_driver_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:365:(.text+0x728): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_fetcher_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -
> fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:366:(.text+0x734): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrsource/.libs/lib_libsyslog_ng_la-logthrfetcherdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_fetcher_driver_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrsource/logthrfetcherdrv.c:367:(.text+0x740): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_worker_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_worker_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:814:(.text+0x1630): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_worker_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:815:(.text+0x163c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_worker_free_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:816:(.text+0x1648): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_driver_init_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: in function `log_threaded_dest_driver_init_instance':
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1147:(.text+0x1950): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_driver_deinit_method' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1148:(.text+0x195c): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_driver_free' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1150:(.text+0x1974): dangerous relocation:
> unsupported relocation
> > /tools/aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld:
> lib/logthrdest/.libs/lib_libsyslog_ng_la-logthrdestdrv.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol
> `log_threaded_dest_driver_start_workers' which may bind externally can not be used when making a shared object; recompile with -fPIC
> > /home/user/work/buildroot/output/build/syslog-ng-3.33.1/lib/logthrdest/logthrdestdrv.c:1151:(.text+0x1980): dangerous relocation:
> unsupported relocation
> > collect2: error: ld returned 1 exit status
> > Makefile:10601: recipe for target 'lib/libsyslog-ng.la' failed
> > make[4]: *** [lib/libsyslog-ng.la] Error 1
>
> I think we can selectively quote part of the error. We don't need the
> whole thing.

Ok, will do that

> >
> > Signed-off-by: Ankur Tyagi <ankur.tyagi@gallagher.com>
> > ---
> >  package/syslog-ng/syslog-ng.mk | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
> > index 765e886b12..bc153472bd 100644
> > --- a/package/syslog-ng/syslog-ng.mk
> > +++ b/package/syslog-ng/syslog-ng.mk
> > @@ -106,6 +106,12 @@ else
> >  SYSLOG_NG_CONF_OPTS += --disable-afsnmp
> >  endif
> >
> > +ifeq ($(BR2_PIC_PIE),y)
> > +SYSLOG_NG_CFLAGS += -fPIC
> > +SYSLOG_NG_CXXFLAGS += -fPIC
> > +SYSLOG_NG_CONF_OPTS += CFLAGS="$(SYSLOG_NG_CFLAGS)" CXXFLAGS="$(SYSLOG_NG_CXXFLAGS)"
> > +endif
> > +
>
> I don't think -fPIC will do any harm on non PIE systems looking at
> other examples I think the following would be better
>
> SYSLOG_NG_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"

Thanks, I'll send a v2

> >  define SYSLOG_NG_INSTALL_INIT_SYSV
> >         $(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \
> >                 $(TARGET_DIR)/etc/init.d/S01syslog-ng
> > --
> > 2.25.1
> >
> > ###########################################################################
> > This email is confidential and may contain information subject to legal
> > privilege.  If you are not the intended recipient please advise us of our
> > error by return e-mail then delete this email and any attached files.
> > You may not copy, disclose or use the contents in any way.
> >
> > The views expressed in this email may not be those of Gallagher Group
> > Ltd or subsidiary companies thereof.
> > ###########################################################################
________________________________
 This email is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this email and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this email may not be those of Gallagher Group Ltd or subsidiary companies thereof.
________________________________
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-29  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 22:13 [Buildroot] [PATCH 1/1] package/syslog-ng: compile with -fPIC when BR2_PIC_PIE is set Ankur Tyagi
2021-09-29  8:07 ` Chris Packham
2021-09-29  9:37   ` Ankur Tyagi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.