Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854216 - app-backup/rdedup-1.0.2 fails to compile: undefined reference to mz_deflate
Summary: app-backup/rdedup-1.0.2 fails to compile: undefined reference to mz_deflate
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-25 08:24 UTC by Agostino Sarubbo
Modified: 2024-03-01 08:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,115.75 KB, text/plain)
2022-06-25 08:24 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-25 08:24:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/rdedup-1.0.2 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-25 08:24:25 UTC
Created attachment 787559 [details]
build.log

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


          flate2.0fe47b06-cgu.0:(.text._ZN58_$LT$flate2..mem..Compress$u20$as$u20$flate2..zio..Ops$GT$7run_vec17hf3d4227fcf3a4386E+0x3e): undefined reference to `mz_deflate'
          flate2.0fe47b06-cgu.0:(.text._ZN67_$LT$flate2..mem..DirCompress$u20$as$u20$flate2..mem..Direction$GT$7destroy17h6c10b28f636c8aafE+0x2): undefined reference to `mz_deflateEnd'
          flate2.0fe47b06-cgu.0:(.text._ZN69_$LT$flate2..mem..DirDecompress$u20$as$u20$flate2..mem..Direction$GT$7destroy17hbec4b0f0c10edf95E+0x2): undefined reference to `mz_inflateEnd'
          flate2.0fe47b06-cgu.0:(.text._ZN6flate23mem10Decompress14decompress_vec17hb8e41941bb39ff0fE+0x3e): undefined reference to `mz_inflate'
          flate2.0fe47b06-cgu.0:(.text._ZN6flate23mem10Decompress3new17hcea0fb5884048be5E+0x41): undefined reference to `mz_inflateInit2'
          flate2.0fe47b06-cgu.0:(.text._ZN6flate23mem8Compress3new17h0ec89cc97f1a0a52E+0x53): undefined reference to `mz_deflateInit2'
error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1
Comment 3 Eli Schwartz 2024-02-29 20:59:18 UTC
As far as I can tell, this never had anything to do with LTO.

Anyways, it's no longer reproducible.
Comment 4 Agostino Sarubbo gentoo-dev 2024-03-01 08:05:04 UTC
For unknown reasons, at that time I was asked to block bug 618550 for each issue from lto_tinderbox. The same applies to all bugs that block bug 618550 that looks to be unrelated to lto