Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917271 - sys-devel/mold: keywording
Summary: sys-devel/mold: keywording
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL: https://github.com/rui314/mold/issues...
Whiteboard:
Keywords: CC-ARCHES
Depends on: 923177
Blocks:
  Show dependency tree
 
Reported: 2023-11-13 02:17 UTC by Sam James
Modified: 2024-01-29 01:23 UTC (History)
4 users (show)

See Also:
Package list:
sys-devel/mold alpha arm ppc m68k sparc >=dev-libs/mimalloc-2 alpha arm ppc m68k sparc dev-libs/blake3 alpha arm ppc m68k sparc
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-13 02:17:06 UTC
mold supports arm, ppc32, sparc64, m68k in addition to the already-keyworded arches, so let's kw there too.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-13 02:17:19 UTC
Oh, and alpha, believe it or not.
Comment 2 Larry the Git Cow gentoo-dev 2023-11-13 02:19:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af070b70abbb6c17866c1d4509e6a7e24327bc9b

commit af070b70abbb6c17866c1d4509e6a7e24327bc9b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-13 02:18:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-13 02:18:44 +0000

    profiles/arch/sparc/32ul: mask mold on sparc32
    
    mold supports sparc64, but not sparc32.
    
    Bug: https://bugs.gentoo.org/917271
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/sparc/32ul/package.mask | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 3 NATTkA bot gentoo-dev 2023-11-13 02:24:17 UTC Comment hidden (obsolete)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-13 04:32:51 UTC
arm done
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-13 04:33:39 UTC
sparc done
Comment 6 James Le Cuirot gentoo-dev 2023-11-13 20:21:41 UTC
Building /for/ m68k does indeed work, but mold doesn't run on m68k without -malign-int, so we can't do this for now. Don't worry though, I won't forget about it. I paid money for that support!
Comment 7 matoro archtester 2023-12-12 05:03:36 UTC
No dice on alpha

CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o: in function `std::basic_string_view<char, std::char_traits<char> > mold::elf::get_output_name<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&, std::basic_string_view<cha
r, std::char_traits<char> >, unsigned long)':
(.text._ZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_m[_ZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_m]+
0xc4): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::get_output_name<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&, std::basic_string_view<char, std::char_traits<char> >, unsign
ed long)::prefixes' defined in .sbss._ZGVZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_mE8prefixes[_ZGVZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_vie
wIcSt11char_traitsIcEERNS0_7ContextIT_EES6_mE8prefixes] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_m[_ZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_m]+
0x130): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::get_output_name<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&, std::basic_string_view<char, std::char_traits<char> >, unsig
ned long)::prefixes' defined in .sbss._ZGVZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_mE8prefixes_0[_ZGVZN4mold3elf15get_output_nameINS0_6RV64BEEEESt17basic_string_
viewIcSt11char_traitsIcEERNS0_7ContextIT_EES6_mE8prefixes_0] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o: in function `void mold::elf::show_stats<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)':
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x1c): relocation truncated to fit: GPREL16 against symbol `mold::Counter::enabled' defined in .sbss
._ZN4mold7Counter7enabledE[_ZN4mold7Counter7enabledE] section in CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x50): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stats
<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::defined' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE7defined[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE7defin
ed] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x74): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stats
<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::undefined' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE9undefined[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE9u
ndefined] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x28c): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stat
s<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::alloc' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE5alloc[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE5alloc] s
ection in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x2a0): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stat
s<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::nonalloc' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE8nonalloc[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE8no
nalloc] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x490): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stat
s<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::comdats' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE7comdats[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE7comd
ats] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x4b0): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stat
s<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::removed_comdats' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE15removed_comdats[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7C
ontextIT_EEE15removed_comdats] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x51c): relocation truncated to fit: GPREL16 against symbol `guard variable for mold::elf::show_stat
s<mold::elf::RV64BE>(mold::elf::Context<mold::elf::RV64BE>&)::num_cies' defined in .sbss._ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE8num_cies[_ZGVZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EEE8nu
m_cies] section in CMakeFiles/mold.dir/elf/passes.cc.RV64BE.cc.o
(.text._ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE[_ZN4mold3elf10show_statsINS0_6RV64BEEEEvRNS0_7ContextIT_EE]+0x53c): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

I submitted upstream at https://github.com/rui314/mold/issues/1166