BIRD 2.0.5 build failures on RHEL/CentOS 6 and 7

Robert Scheck bird at robert-scheck.de
Mon Aug 5 21:35:43 CEST 2019


Hello all,

I'm seeing the following build failures with BIRD 2.0.5 on RHEL/CentOS 6,
while BIRD 2.0.4 worked fine (just did a BIRD version bump, not more):

--- snipp ---
BUILDSTDERR: obj/conf/cf-parse.y: In function 'cf_parse':
BUILDSTDERR: obj/conf/cf-parse.y:1918: error: unknown field 'asn' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:1918: warning: missing braces around initializer
BUILDSTDERR: obj/conf/cf-parse.y:1918: warning: (near initialization for '(anonymous).val.pmi.<anonymous>')
BUILDSTDERR: obj/conf/cf-parse.y:1919: error: unknown field 'from' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:1919: warning: missing braces around initializer
BUILDSTDERR: obj/conf/cf-parse.y:1919: warning: (near initialization for '(anonymous).val.pmi.<anonymous>')
BUILDSTDERR: obj/conf/cf-parse.y:1919: error: unknown field 'to' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:2172: error: unknown field 'sym' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:2172: warning: missing braces around initializer
BUILDSTDERR: obj/conf/cf-parse.y:2172: warning: (near initialization for '(anonymous).<anonymous>')
BUILDSTDERR: obj/conf/cf-parse.y:2174: error: unknown field 'sa' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:2174: warning: missing braces around initializer
BUILDSTDERR: obj/conf/cf-parse.y:2174: warning: (near initialization for '(anonymous).<anonymous>')
BUILDSTDERR: obj/conf/cf-parse.y:2174: error: incompatible types when initializing type 'struct symbol *' using type 'struct f_static_attr'
BUILDSTDERR: obj/conf/cf-parse.y:2175: error: unknown field 'da' specified in initializer
BUILDSTDERR: obj/conf/cf-parse.y:2175: warning: missing braces around initializer
BUILDSTDERR: obj/conf/cf-parse.y:2175: warning: (near initialization for '(anonymous).<anonymous>')
BUILDSTDERR: obj/conf/cf-parse.y:2175: error: incompatible types when initializing type 'struct symbol *' using type 'struct f_dynamic_attr'
BUILDSTDERR: obj/conf/cf-parse.y:2403: warning: pointer targets in assignment differ in signedness
BUILDSTDERR: obj/conf/cf-parse.y:2404: warning: pointer targets in assignment differ in signedness
--- snapp ---

https://kojipkgs.fedoraproject.org/work/tasks/4846/36814846/build.log is
the full log (will be auto-cleaned up in a couple of days).

And even building on RHEL/CentOS 7 fails now (also just a BIRD version
bump):

--- snipp ---
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans0.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans1.ltrans.o: relocation R_X86_64_32 against hidden symbol `sk_class.61292' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans2.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans3.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans4.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans5.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans6.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans7.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans8.ltrans.o: relocation R_X86_64_32S against hidden symbol `opaque_lsa_types_inv.40457' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans9.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans10.ltrans.o: relocation R_X86_64_32S against hidden symbol `proto_bgp' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans11.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans12.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans13.ltrans.o: relocation R_X86_64_32S against hidden symbol `proto_bgp' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans14.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans15.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans16.ltrans.o: relocation R_X86_64_32S against hidden symbol `bfd_wait_list.24893' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans17.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans18.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans19.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans20.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans21.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans22.ltrans.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans23.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans24.ltrans.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans25.ltrans.o: relocation R_X86_64_32 against hidden symbol `b.8691.10727' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans26.ltrans.o: relocation R_X86_64_32 against hidden symbol `filter_state.9587' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans27.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans28.ltrans.o: relocation R_X86_64_32S against hidden symbol `yy_accept.7797' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans29.ltrans.o: relocation R_X86_64_32S against hidden symbol `yypact.4429' can not be used when making a shared object
BUILDSTDERR: /usr/bin/ld: /tmp/ccZUW9JI.ltrans30.ltrans.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
BUILDSTDERR: /usr/bin/ld: final link failed: Nonrepresentable section on output
--- snapp ---

https://kojipkgs.fedoraproject.org//work/tasks/5313/36815313/build.log is
the full log (will be auto-cleaned up in a couple of days).

While I indeed can pass -fPIC myself (leading to a successful build), I
still wonder why these changes happened and whether you maybe missed some
autoconf/automake-foo to cover it "automagically".


Regards,
  Robert


More information about the Bird-users mailing list