Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854579 - app-i18n/freewnn-1.1.1_alpha23-r1 fails to compile (lto): undefined reference to closesocket
Summary: app-i18n/freewnn-1.1.1_alpha23-r1 fails to compile (lto): undefined reference...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 10:18 UTC by Agostino Sarubbo
Modified: 2022-06-27 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,150.74 KB, text/plain)
2022-06-27 10:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-27 10:18:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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