Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830948

Summary: media-gfx/sam2p-0.49.4_p20190718-r1 fails to compile: ld.lld: error: cant create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass -Wl,-z,notext to allow text relocations in the output
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: TeX project <tex>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-01-10 19:17:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/sam2p-0.49.4_p20190718-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-10 19:17:40 UTC
Created attachment 761826 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-10 19:17:41 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


      'Error::Cleanup *' increases required alignment from 1 to 8 [-Wcast-align]
configure: WARNING: cannot find inttype: sizeof(inttype)==16
ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output