HomeFreeBSD

comms/hcidump: Fix a link error

Description

comms/hcidump: Fix a link error

Fix the following by adding -fPIE to CFLAGS:

/usr/local/bin/x86_64-unknown-freebsd14.0-ld: ../parser/libparser.a(hidp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making
a PIE object; recompile with -fPIE
/usr/local/bin/x86_64-unknown-freebsd14.0-ld: final link failed:
nonrepresentable section on output
cc: error: linker command failed with exit code 1 (use -v to see invocation)

  • [hcidump] Error code 1

MFH: 2021Q4

Details

Provenance
cyAuthored on Oct 5 2021, 8:54 PM
Parents
R11:f7d815bded18: net/isc-dhcp44-server: Add CPE information
Branches
Unknown
Tags
Unknown