public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102210] New: Invalid assembly generated while building OpenSSH on hppa64-hp-hpux11.23
@ 2021-09-05 22:32 me at larbob dot org
  0 siblings, 0 replies; only message in thread
From: me at larbob dot org @ 2021-09-05 22:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102210

            Bug ID: 102210
           Summary: Invalid assembly generated while building OpenSSH on
                    hppa64-hp-hpux11.23
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: me at larbob dot org
  Target Milestone: ---

Created attachment 51410
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51410&action=edit
bsd-closefrom.i from -save-temps

I am running GCC 11.1.0 on hppa64-hp-hpux11.23. 

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/util/gcc64/gcc-11.1.0/libexec/gcc/hppa64-hp-hpux11.23/11.1.0/lto-wrapper
Target: hppa64-hp-hpux11.23
Configured with: ../../sources/gcc-11.1.0/configure
--prefix=/usr/util/gcc64/gcc-11.1.0 --disable-nls --disable-libgomp
--enable-languages=c,c++ --with-gmp=/usr/util/gcc64/gmp-6.1.0
--with-mpfr=/usr/util/gcc64/mpfr-3.1.6 --with-mpc=/usr/util/gcc64/mpc-1.0.3
--without-gnu-ld --with-gnu-as --with-as=/usr/util/gcc64/binutils-2.25/bin/as
CONFIG_SHELL=/usr/util/bin/bash AWK=/usr/util/bin/awk SED=/usr/util/bin/sed
CC=/usr/util/gcc64/gcc-7.2.0/bin/gcc CXX=/usr/util/gcc64/gcc-7.2.0/bin/g++
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.1.0 (GCC)

While building OpenSSH 8.7p1 (or older versions, tested some 7.x versions):
gcc -g -O2 -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess
-Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result
-Wimplicit-fallthrough -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
-fno-builtin-memset   -fPIC -I. -I.. -I. -I./.. -I/usr/util/openssl/include
-I/usr/util/include  -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
-DHAVE_CONFIG_H -c bsd-closefrom.c
{standard input}: Assembler messages:
{standard input}:79: Error: Invalid Add Condition: tsv
{standard input}:79: Error: Invalid operands
make[1]: *** [Makefile:104: bsd-closefrom.o] Error 1

This only seems to happen when GCC is compiled for the hppa64-hp-hpux11.*
target, not hppa2.0w-hp-hpux11.* or other 32-bit PA-RISC targets. I have tested
this with a much different version of binutils (2.25 vs. 2.37) and have run
into the same issue. Furthermore, I've also tested with GCC 4.7.1 and run into
the same issue.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-05 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 22:32 [Bug c/102210] New: Invalid assembly generated while building OpenSSH on hppa64-hp-hpux11.23 me at larbob dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).