On Wed, 11 Oct 2023 17:03:42 +0200 Gert van de Kraats
<vd.kra...@hccnet.nl> wrote:
> Package: filezilla
> Version: 3.63.0-1+deb12u2
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> Since https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034195 is
solved,
> filezilla can be compiled and now is available at Debian Bookworm
12.0 
> i386 32
> bit.
> Unfortunately it aborts with invalid opcode:
> 
> 2023-10-10T00:17:58.773980+02:00 debian systemd[16997]: Started app-
gnome-
> filezilla-20364.scope - Application launched by gnome-shell.
> 2023-10-10T00:17:59.784902+02:00 debian kernel: [53450.659012] traps:
> filezilla[20364] trap invalid opcode ip:b7df84c3 sp:bff7eaa0 error:0
in
> libfzclient-private-3.63.0.so[b7d1a000+128000]
> 
> This is caused by compiling all source with -msse4.1.
> This causes at some sources generation of instructions, that cannot
be 
> executed
> by my current hardware and are not skipped by software tests.
> 
> In fact the compile problem is solved if only the Makefile at
src/putty is
> changed.
> 
> Therefore the latest change at debian/rules is deleted and replaced
by
> editing src/putty/Makefile at override_dh_auto_configure.
> This is not nice, but at least it works.
> 
> The change can be removed again as soon as gcc release 14 is
available.
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109504
> Modified debian/rules :
> 
> #!/usr/bin/make -f
> # Uncomment this to turn on verbose mode.
> #export DH_VERBOSE=1
> 
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> 
> # ifeq ($(DEB_HOST_ARCH_CPU),i386)
> # Workaround GCC bug on i386
> # export DEB_CFLAGS_MAINT_APPEND = -msse4.1
> # export DEB_CXXFLAGS_MAINT_APPEND = -msse4.1
> # endif
> 
> %:
> dh $@
> 
> override_dh_autoreconf:
> ifeq ($(shell dpkg-vendor --derives-from Ubuntu &amp;&amp; echo
yes),yes)
> patch -p1 &lt; debian/patches/11_use-decimal-si-by-default.patch
> touch debian/applied
> endif
> dh_autoreconf
> 
> override_dh_auto_clean:
> dh_auto_clean
> ifeq ($(shell dpkg-vendor --derives-from Ubuntu &amp;&amp; echo
yes),yes)

Hi,

What specific hardware are you using to trigger this issue? This will
hopefully help me reproduce in a VM.

With regard GCC 14 and the future of filezilla builds. Debian 13 will
not have an i386 or other x86 32-bit build. The time for support to end
has been a long time coming and I feel the effort to support it and
associated libraries is not worth it.

Thank you for the fix snippet, I will look at this as soon as I am
able.

Regards

Phil

-- 
Playing the game for the games sake.

* Debian Maintainer

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org

Social:

* Twitter: kathenasorg
* Instagram: kathenasorg


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to