Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1271014 > unrolled thread
| Started by | zhangdandan <zhangdandan@loongson.cn> |
|---|---|
| First post | 2025-11-21 04:10 +0100 |
| Last post | 2025-11-25 20:10 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 zhangdandan <zhangdandan@loongson.cn> - 2025-11-21 04:10 +0100
Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 Soren Stoutner <soren@debian.org> - 2025-11-22 04:40 +0100
Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 Adrian Bunk <bunk@debian.org> - 2025-11-25 20:10 +0100
| From | zhangdandan <zhangdandan@loongson.cn> |
|---|---|
| Date | 2025-11-21 04:10 +0100 |
| Subject | Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 |
| Message-ID | <LTpH3-ewHF-5@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Source: feather-wallet Version: 2.8.1+dfsg-1 Severity: normal Tags: FTBFS patch User: debian-loongarch@lists.debian.org Usertags: loong64 Dear maintainers, Compiling the feather-wallet failed for loong64 in the Debian Package Auto-Building environment. The error log is as follows, ``` ...... [ 4%] Building CXX object monero/src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o cc: error: unrecognized command-line option ‘-maes’ c++: error: unrecognized command-line option ‘-maes’ c++: error: unrecognized command-line option ‘-maes’ c++: error: unrecognized command-line option ‘-maes’ cd /<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/src/cryptonote_basic && /usr/bin/c++ -DAUTO_INITIALIZE_EASYLOGGINGPP -DBLOCKCHAIN_DB=DB_LMDB -DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION -DBOOST_NO_AUTO_PTR -DBOOST_UUID_DISABLE_ALIGNMENT -DBUILD_GUI_DEPS=1 -DDEFAULT_DB_TYPE=\"lmdb\" -DDEVICE_TREZOR_READY=1 -DHAVE_EXPLICIT_BZERO -DHAVE_HIDAPI -DHAVE_STRPTIME -DHAVE_TREZOR_LIBUSB=1 -DPER_BLOCK_CHECKPOINT -DPROTOBUF_INLINE_NOT_IN_HEADERS=0 -I/<<PKGBUILDDIR>>/monero/external/rapidjson/include -I/<<PKGBUILDDIR>>/monero/external/easylogging++ -I/<<PKGBUILDDIR>>/monero/src -I/<<PKGBUILDDIR>>/monero/contrib/epee/include -I/<<PKGBUILDDIR>>/monero/external -I/<<PKGBUILDDIR>>/monero/external/supercop/include -I/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/generated_include -I/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/translations -I/<<PKGBUILDDIR>>/monero/external/db_drivers/liblmdb -I/usr/include/hidapi -I/usr/include/libusb-1.0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -maes -march=native -Dcryptonote=MWYSUTPAXIBT -fno-strict-aliasing -D_GNU_SOURCE -Dstatic_assert=_Static_assert -Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp -Wno-reorder -Wno-missing-field-initializers -fPIC -fno-strict-aliasing -ftemplate-depth=900 -std=c++17 -MD -MT monero/src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o -MF CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o.d -o CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o -c /<<PKGBUILDDIR>>/monero/src/cryptonote_basic/account.cpp c++: error: unrecognized command-line option ‘-maes’ c++: error: unrecognized command-line option ‘-maes’ c++: error: unrecognized command-line option ‘-maes’ ...... ``` The full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=feather-wallet&arch=loong64&ver=2.8.1%2Bdfsg-1&stamp=1763006798&raw=0. Please consider the patch I attached. I have built feather-wallet successfully on locally. Your opinions are welcome. Best regards, Dandan Zhang
[toc] | [next] | [standalone]
| From | Soren Stoutner <soren@debian.org> |
|---|---|
| Date | 2025-11-22 04:40 +0100 |
| Message-ID | <LTMDD-eMv4-3@gated-at.bofh.it> |
| In reply to | #1271014 |
[Multipart message — attachments visible in raw view] — view raw
Control: forwarded -1 https://github.com/feather-wallet/feather/issues/277 On Thursday, November 20, 2025 8:03:09 PM Mountain Standard Time zhangdandan wrote: > Please consider the patch I attached. > I have built feather-wallet successfully on locally. > Your opinions are welcome. Thank you for your bug report and the patch. I have forwarded it upstream to make sure they don’t foresee any negative side effects. -- Soren Stoutner soren@debian.org
[toc] | [prev] | [next] | [standalone]
| From | Adrian Bunk <bunk@debian.org> |
|---|---|
| Date | 2025-11-25 20:10 +0100 |
| Message-ID | <LV6Ah-fHCz-5@gated-at.bofh.it> |
| In reply to | #1271118 |
Control: reopen -1
Control: severity -1 serious
On Fri, Nov 21, 2025 at 08:29:02PM -0700, Soren Stoutner wrote:
> Control: forwarded -1 https://github.com/feather-wallet/feather/issues/277
>
> On Thursday, November 20, 2025 8:03:09 PM Mountain Standard Time zhangdandan
> wrote:
> > Please consider the patch I attached.
> > I have built feather-wallet successfully on locally.
> > Your opinions are welcome.
>
> Thank you for your bug report and the patch. I have forwarded it upstream to
> make sure they don’t foresee any negative side effects.
This is just the tip of an iceberg of issues:
1. -maes is a baseline violation even on amd64
2. Additionally the package builds with -march=native, which means it
will run only on hardware compatible with the hardware of whatever
buildd did build the package.
src:monero solved these two issues with:
override_dh_auto_configure:
dh_auto_configure -- -DARCH=default -DNO_AES=ON
An additional issue would be:
3. Do we really need two copies of the monero code in the archive?
> Soren Stoutner
cu
Adrian
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web