Re: Build failures on hppa architectures after update from 2.9.0dev.9 to 2.9.0dev.10

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Sat, Oct 30, 2021 at 08:18:40AM +0200, Axel Beckert wrote:
> Hi,
> 
> on Debian we noticed build failures of Lynx 2.9.0dev.10 on the (IIRC
> kinda vintage) hppa architecture (see
> https://www.debian.org/ports/hppa/ + https://parisc.wiki.kernel.org/)
> where Lynx 2.9.0dev.9 still build fine:

That's odd, because the .c file didn't change in dev.10,
nor did any of Lynx's .h files used by this module.

dev.9 did change some of the DTD tables (which might be relevant,
e.g., if a table got larger).
 
> https://buildd.debian.org/status/logs.php?pkg=lynx&arch=hppa
> 
> The problem seems to be reproducible, at least two build runs of Lynx
> 2.9.0dev.10 failed so far.
> 
> The relevant compile error seems to be this:
> 
> gcc -DHAVE_CONFIG_H  -I../../.. -I../../../src -I../../.. -I../../../src  -I../../../WWW/Library/Implementation  -Wdate-time -D_FORTIFY_SOURCE=2 -DNO_BUILDSTAMP -D_FILE_OFFSET_BITS=64   -DLINUX -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Wall -Werror=format-security    -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTMLGen.c
> /tmp/cc3NiXQT.s: Assembler messages:
> /tmp/cc3NiXQT.s:18552: Error: Invalid Shift/Extract/Deposit Condition.
> /tmp/cc3NiXQT.s:18552: Error: Undefined absolute constant: '.loc'.
> /tmp/cc3NiXQT.s:18552: Error: Field out of range [0..31] (-1).
> /tmp/cc3NiXQT.s:18552: Error: Invalid operands
> make[2]: *** [makefile:245: SGML.o] Error 1
> 
> Full build log at
> https://buildd.debian.org/status/fetch.php?pkg=lynx&arch=hppa&ver=2.9.0dev.10-1&stamp=1635443140&raw=0
> 
> I suspect that some of the fixes for the fuzzer-found issues are not
> compatible with some rough edges of that architecture.

maybe... but the fuzzer-fixes didn't tough this part of the source-code.
Those were all done in .c files:

# WWW/Library/Implementation/SGML.c |   12
# src/GridText.c                    |   35
# src/HTML.c                        |    8
# src/LYCharUtils.c                 |    9
# src/LYStrings.c                   |   14
# src/LYUtils.c                     |    4
# src/TRSTable.c                    |   10

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmF9JoIACgkQzCr0RyFn
vgM38gv/YAlUv7NY1Y/GTXOqlbIkZ2T+W6FE8rsEP+HH6MYcstmocQV6RLgiLARo
LLkzLkHQy4wjzkvVNd8kLXZ0azdhyowtFPQ4fRl+nZxnqCI2Leacbd7S8ezV4SNP
AMzK8EAEhCoZmVvFoG5qvQm9gEj/LZuelZheG2UtOSIcx90Nmj4PtedvdWB959HZ
QZhhiDiAuCpUkGjz9FAPsZfccJEjCUSrx6c6+YMId6GmziIgh2NrqwmdxeFrggN9
B42W/0ox2NJ3iABeyNbOuNv+FctuHBsUYD9xoule5s3RBiBPm0k4aaov7rTnT4BO
TY4vcCEWekm0bUuKJK3YUZrsob/1ihZsWRES244iB9MBejrfcC4zQEMz4ypQAwFu
41N2Bfxn71ZxlsqVYIVRZVAthZuGDDuccIHDHwx6wyX/jOTrQ42Sd2U7ekHLLY4J
+GutG9eCpLi5ZVyJQbl0ltRSUWUZIwJR1hUk/uDFfKrRbyph0aQ+o9ZDsBO+1Q+V
adFSi1sA
=ceaQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.