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

Bug 854579

Summary: app-i18n/freewnn-1.1.1_alpha23-r1 fails to compile (lto): undefined reference to closesocket
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: CJK Team <cjk>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-27 10:18:59 UTC

Issue: app-i18n/freewnn-1.1.1_alpha23-r1 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-27 10:19:01 UTC
Created attachment 788006 [details]

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

/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x1275): undefined reference to `closesocket'
<artificial>:(.text+0x120a): undefined reference to `closesocket'
<artificial>:(.text+0x39e5): undefined reference to `closesocket'
<artificial>:(.text+0x7458): undefined reference to `closesocket'
collect2: error: ld returned 1 exit status