Summary: | net-print/cups-filters-1.28.7 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | ostroffjh, pacho, sam, tsigarid |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 807442 | ||
Attachments: |
emerge_info
net-print:cups-filters-1.28.7:20210314-114010.log |
Description
Agostino Sarubbo
2021-03-14 12:11:27 UTC
Created attachment 691377 [details]
emerge_info
emerge --info
Created attachment 691380 [details]
net-print:cups-filters-1.28.7:20210314-114010.log
build log
The attached build log doesn't seem to have the actual error. I get /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libqpdf.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' collect2: error: ld returned 1 exit status but I just realized this is with gcc-10.3.0. I had previously successfully emerged cups-filters-1.28.7 with gcc-11.2.0, so perhaps some change to the program or ebuild to allow the newer gcc has inadvertently disabled successful build with older gcc. (In reply to Jack from comment #3) > The attached build log doesn't seem to have the actual error. I get > > /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libqpdf.so: > undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' > collect2: error: ld returned 1 exit status > > but I just realized this is with gcc-10.3.0. I had previously successfully > emerged cups-filters-1.28.7 with gcc-11.2.0, so perhaps some change to the > program or ebuild to allow the newer gcc has inadvertently disabled > successful build with older gcc. This occurs when you downgrade GCC but things have been linked against symbols only available in a newer version of libstdc++ (which in Gentoo, means a newer GCC). See https://wiki.gentoo.org/wiki/Upgrading_GCC#libstdc.2B.2B.so.6:_version_.60GLIBCXX_3.4.15.27_not_found => https://wiki.gentoo.org/wiki/Upgrading_GCC#ABI_changes_before_gcc-5.1. Are you able to reproduce with 1.28.10-r1? In my case it builds fine (but also older versions) |