Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855599 - dev-lang/gprolog-1.5.0 fails to compile (lto): wam_archi.h:62:34: error: global register variable follows a function definition
Summary: dev-lang/gprolog-1.5.0 fails to compile (lto): wam_archi.h:62:34: error: glob...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prolog project
Depends on:
Blocks: lto
  Show dependency tree
Reported: 2022-07-01 20:15 UTC by Agostino Sarubbo
Modified: 2022-07-01 20:15 UTC (History)
0 users

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

build.log (build.log,69.38 KB, text/plain)
2022-07-01 20:15 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-01 20:15:22 UTC

Issue: dev-lang/gprolog-1.5.0 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-07-01 20:15:24 UTC
Created attachment 789383 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-01 20:15:42 UTC
I'm not 100% sure that it is an lto fault. After if you dig into it, please remove the blocker bug if you think this has nothing to do with lto. Thanks