bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/29401] Hang in `as` when compiling large printf() file (from gl


From: sam at gentoo dot org
Subject: [Bug gas/29401] Hang in `as` when compiling large printf() file (from glibc's tst-printf-bz18872) on HPPA with -ggdb3
Date: Mon, 25 Jul 2022 01:54:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29401

--- Comment #4 from Sam James <sam at gentoo dot org> ---
(In reply to Alan Modra from comment #3)
> (In reply to Sam James from comment #0)
> > It hangs at the end invoking `as`.
> 
> Then you should attach the .s file.

Originally, I didn't get a .s because I was using -pipe (which is why the `as`
process was hanging, I guess, as it was waiting for GCC to feed it something).

If I omit -pipe, I get the same hanging, but:
```
22453 pts/5    Ss     0:00  \_ -/bin/bash
22926 pts/5    S+     0:00  |   \_ hppa2.0-unknown-linux-gnu-gcc -march=2.0
-fdiagnostics-show-option -ggdb3 -O2 -Wl,-O1 -Wl,--as-needed foo.c -v
22927 pts/5    R+     0:49  |       \_
/usr/libexec/gcc/hppa2.0-unknown-linux-gnu/11.2.1/cc1 -quiet -v -dD foo.c
-quiet -dumpdir a- -dumpbase foo.c -dumpbase-ext .c -march=2.0 -ggdb3 -O2
-version -fdiagnostics-show-option -o /tmp/ccuAnphe.s
```

If I try to run `as` on a copied version of /tmp/ccuAnphe.s (attached it anyway
for completeness), it runs quickly and exits without an issue. So I guess the
issue is actually GCC?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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