[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sagan fails on *-i386



Hi,

> I did a NMU for sagan package.
>
> It fails on *-i386[0].
>
> - i386 and kfreebsd:
>
> parsers/sagan-strstr/strstr_sse2.S:399: Error: bad register name `%rax'
> parsers/sagan-strstr/strstr_sse2.S:404: Error: bad register name `%r8)'
> parsers/sagan-strstr/strstr_sse2.S:405: Error: bad register name `%rax'
> Makefile:522: recipe for target 'sagan-strstr_sse2.o' failed
> make[3]: *** [sagan-strstr_sse2.o] Error 1
> make[3]: Leaving directory '/«PKGBUILDDIR»/src'
> Makefile:390: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/«PKGBUILDDIR»'
> Makefile:331: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_build: make -j1 returned exit code 2
> debian/rules:37: recipe for target 'build-arch' fai
>
> - hurd-i386:
> sagan build-depends on missing:
> - hurd-i386:libprelude-dev

> [0] - https://buildd.debian.org/status/package.php?p=sagan

> I just tried on my pc (chroot) and it fails.
> The last gcc line is:

> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/include/json-c  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-
> protector-strong -Wformat -Werror=format-security -c -o sagan-strstr_sse2.o `test -f 'parsers/sagan-strstr/
> strstr_sse2.S' || echo './'`parsers/sagan-strstr/strstr_sse2.S

I checked the file:
# less src/parsers/sagan-strstr/strstr_sse2.S 
This "hooks" in the "Sagan_strstr" function for CPUs supporting SSE2

# ./configure --help | grep -i sse 
  --build=BUILD     configure for building on BUILD [guessed]
  CCAS        assembler compiler command (defaults to CC)
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)

I don't know how to fix this.


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)


Reply to: