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

(cherry picked from commit b581f84ea517c22d023ccff2150e15d5d68332c8)

Details

Provenance
cyAuthored on Oct 5 2021, 8:54 PM
Parents
R11:4c4f0e624c82: multimedia/intel-media-sdk: unbreak runtime after f4faca97f05b
Branches
Unknown
Tags
Unknown