</div><div><br></div><div>If this could be uploaded it would be greatly appreciated !</div><div><br></div><div>Aaron</div></div>
I have just pushed a new version to mentors that fixes the build on armel
and mipsel.
https://mentors.debian.net/package/libgrokj2k/
If this could be uploaded it would be greatly appreciated !
On Fri, Sep 16, 2022 at 12:10:57PM -0400, Aaron Boxer wrote:
I have just pushed a new version to mentors that fixes the build on armel and mipsel.
https://mentors.debian.net/package/libgrokj2k/
If this could be uploaded it would be greatly appreciated !
Alas, it fails at least on riscv64, and possibly on other architectures as well.
While the proper way to fix these errors is -pthread, cmake doesn't handle
it right on new glibc. Your build system looks complex, thus I'd propose just trying to link with -latomic unconditionally. Because of --as-needed which is the default these days, the library won't be added on archs where
it is not required.
Meow!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Seems that the Russian Army is no longer organized crime...
⢿⡄⠘⠷⠚⠋⠀
⠈⠳⣄⠀⠀⠀⠀
On Fri, Sep 16, 2022 at 2:18 PM Adam Borowski <kilobyte@angband.pl> wrote:
On Fri, Sep 16, 2022 at 12:10:57PM -0400, Aaron Boxer wrote:
I have just pushed a new version to mentors that fixes the build onarmel
and mipsel.
https://mentors.debian.net/package/libgrokj2k/
If this could be uploaded it would be greatly appreciated !
Alas, it fails at least on riscv64, and possibly on other architectures as >> well.
While the proper way to fix these errors is -pthread, cmake doesn't handle >> it right on new glibc. Your build system looks complex, thus I'd propose
just trying to link with -latomic unconditionally. Because of --as-needed >> which is the default these days, the library won't be added on archs where >> it is not required.
Thanks. I actually found that I had inadvertently deleted these lines from
my rules file
ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc sh4 riscv64))
export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
endif
which were added last year for exactly this issue - build failure do to
lack of libatomic. (riscv64 wasn't there last year though)
let me re-submit with these lines restored.
Meow!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Seems that the Russian Army is no longer organized crime...
⢿⡄⠘⠷⠚⠋⠀
⠈⠳⣄⠀⠀⠀⠀
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 152:12:04 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,815 |