On Wed, 2023-04-12 at 15:45 +0200, Gert van de Kraats wrote:
> I saw the problem already is known at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020327
> and
> https://trac.filezilla-project.org/ticket/12777
> <https://trac.filezilla-project.org/ticket/12777>
> I downloaded source filezilla-3.63.2.1 from filezilla website and got
> the same problem as mentioned at that bug:
> 
> gcc -DHAVE_CONFIG_H   -I../../../src/putty -I../../config -DNO_GSSAPI 
> -D_FILE_OFFSET_BITS=64  -fpch-preprocess  -g -O2 -Wall -MT 
> libfzputtycommon_a-sshsha.o -MD -MP -MF 
> .deps/libfzputtycommon_a-sshsha.Tpo -c -o libfzputtycommon_a-sshsha.o 
> `test -f 'sshsha.c' || echo '../../../src/putty/'`sshsha.c
> In file included from /usr/lib/gcc/i686-linux-gnu/12/include/immintrin.h:98,
>                   from ../../../src/putty/sshsha.c:347:
> /usr/lib/gcc/i686-linux-gnu/12/include/avx512fp16intrin.h:38:9: error: 
> ‘_Float16’ is not supported on this target
> 
> I changed the Makefile at src/putty and added -msse4.1 to CFLAGS and
> CXXFLAGS.
> After this change I could compile filezilla without a problem.
> Installing filezilla gave some problems because the files are not
> installed at the right location, but with some symbolic links
> filezilla works without a problem.
> According to "cat proc/cpuinfo" my cpu supports sse and sse2.
> 
> Like Tim Kosse I think this is a gcc-12-bug, not a filezilla-bug.
> I do not see any changes in this area at filezilla since previous
> release filezilla-3.57.0.
> If I compile sshsha.c at that release with gcc-12, I get the same error.
> If I compile sshsha.c at both releases with gcc-11, I get no error.
> 
> If a pragma GCC target is activated for some source, then the
> compiler should not generate an error if the build target is not
> supporting this. This makes cross-compilation impossible.
> 
> In that case it is the responsibility of the programmer to assure that
> this code is only executed if the specified target is available.
> 
> I think   pragma GCC target sse4.1 (locally) and -msse4.1 (globally)
> should do the same thing.

Hi,

If you wish to add this to the upstream bug report, I will look at testing it 
on the i386 builders
if and when it makes it into a release.

Regards

Phil

-- 
*** Playing the game for the games own sake. ***


Associations:

* Debian Maintainer (DM)
* Fedora/EPEL Maintainer.
* Contributor member of the AlmaLinux foundation.

WWW: https://kathenas.org

Buy Me a Coffee: https://www.buymeacoffee.com/kathenasorg

Twitter: @kathenasorg

Instagram: @kathenasorg

IRC: kathenas

GPG: 724AA9B52F024C8B

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

Reply via email to