Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855638 - dev-lang/mercury-extras-22.01.1 fails to compile (lto): undefined reference to <unification predicate for type 0 mode 0>
Summary: dev-lang/mercury-extras-22.01.1 fails to compile (lto): undefined reference t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-02 07:21 UTC by Agostino Sarubbo
Modified: 2024-01-17 19:41 UTC (History)
0 users

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


Attachments
build.log (build.log,55.88 KB, text/plain)
2022-07-02 07:21 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-07-02 07:21:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/mercury-extras-22.01.1 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-07-02 07:21:05 UTC
Created attachment 789404 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-02 07:21:07 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: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x130): undefined reference to `<unification predicate for type 'align_right.params'/0 mode 0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x138): undefined reference to `<compare/3 predicate for type 'align_right.params'/0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x190): undefined reference to `<unification predicate for type 'align_right.option'/0 mode 0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x198): undefined reference to `<compare/3 predicate for type 'align_right.option'/0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x70): undefined reference to `<unification predicate for type 'align_right.squeeze'/0 mode 0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0x78): undefined reference to `<compare/3 predicate for type 'align_right.squeeze'/0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0xd0): undefined reference to `<unification predicate for type 'align_right.pat_line'/0 mode 0>'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/mercury-extras-22.01.1/temp/cciI5oC6.ltrans0.ltrans.o:(.data.rel.ro+0xd8): undefined reference to `<compare/3 predicate for type 'align_right.pat_line'/0>'
<artificial>:(.text+0x52f): undefined reference to `<predicate 'main'/2 mode 0>'
collect2: error: ld returned 1 exit status