lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Build failures on hppa architectures after update from 2.


From: Thomas Dickey
Subject: Re: [Lynx-dev] Build failures on hppa architectures after update from 2.9.0dev.9 to 2.9.0dev.10
Date: Sat, 30 Oct 2021 07:03:34 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

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 <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]