Summary: | dev-libs/cereal-1.3.1-r1[test]: unrecognized command-line option ‘-m32’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Fan <alex.fan.q> |
Component: | Current packages | Assignee: | 3D Printing Team <3dprint> |
Status: | CONFIRMED --- | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | riscv | ||
OS: | Linux | ||
URL: | https://github.com/USCiLab/cereal/issues/258 | ||
See Also: | https://github.com/gentoo/gentoo/pull/24309 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 887495 | ||
Bug Blocks: | 833815 | ||
Attachments: |
cereal-1.3.1-r1-fix-m32-flag.patch
cereal-1.3.1-r1:20220222-104508.log |
Description
Alex Fan
2022-02-22 04:56:25 UTC
Created attachment 765596 [details, diff]
cereal-1.3.1-r1-fix-m32-flag.patch
This should detect compiler support -m32 and disable 32bits tests
Created attachment 765597 [details]
cereal-1.3.1-r1:20220222-104508.log
(In reply to Alex Fan from comment #1) > Created attachment 765596 [details, diff] [details, diff] > cereal-1.3.1-r1-fix-m32-flag.patch > > This should detect compiler support -m32 and disable 32bits tests Can you send this upstream? (In reply to Sam James from comment #3) > Can you send this upstream? Sure, will do. In addition, there is another issue. riscv ld reports creating DT_TEXTREL in a PIE for all test objects. It is not harmful or related to this library, likely the same bug of https://bugs.gentoo.org/713082 example: shell# scanelf -qT test_portable_binary_archive test_portable_binary_archive: (memory/data?) [r_offset=0x0] r_type=0 in (optimized out?) [closest_prev_sym=0x0] test_portable_binary_archive: (memory/data?) [r_offset=0x0] r_type=0 in (optimized out?) [closest_prev_sym=0x0] test_portable_binary_archive: (memory/data?) [r_offset=0x0] r_type=0 in (optimized out?) [closest_prev_sym=0x0] test_portable_binary_archive: (memory/data?) [r_offset=0x0] r_type=0 in (optimized out?) [closest_prev_sym=0x0] test_portable_binary_archive: (memory/data?) [r_offset=0x0] r_type=0 in (optimized out?) [closest_prev_sym=0x0](In reply to Sam James from comment #3) (In reply to Sam James from comment #3) > (In reply to Alex Fan from comment #1) > > Created attachment 765596 [details, diff] [details, diff] [details, diff] > > cereal-1.3.1-r1-fix-m32-flag.patch > > > > This should detect compiler support -m32 and disable 32bits tests > > Can you send this upstream? Oh sorry, there was an issue already where upstream suggests passing -DSKIP_PORTABILITY_TEST=ON |