Bug#1042806: libllvm14: SIGILL Illegal Instructions on POWER5 in libLLVM-14.so

2023-07-31 Thread Stuart MacIntosh
Package: libllvm14
Version: 1:14.0.6-12
Severity: critical
Justification: breaks unrelated software

Hello, 
I think the libLLVM-14 contains some instructions not found on IBM POWER5+ (gs) 
-- vxor is not found in it's IBM reference manual: 
https://www.ibm.com/docs/en/ssw_aix_72/assembler/assembler_pdf.pdf

Maybe this library was built for more recent CPUs but the debian ppc64 support 
goes back to POWER5 AFAIK(?)
$ objdump --disassemble /lib/powerpc64-linux-gnu/libLLVM-14.so.1 |grep vxor

As a result there is some difficulty running applications linked to libLLVM, 
for example rust installation fails with SIGILL, there are likely other 
affected programs.

Thank you
Stuart

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 5.15.123 (SMP w/2 CPU threads)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libllvm14 depends on:
ii  libc6   2.37-6
ii  libedit23.1-20221030-2
ii  libffi8 3.4.4-1
ii  libgcc-s1   13.2.0-1
ii  libstdc++6  13.2.0-1
ii  libtinfo6   6.4+20230625-2
ii  libxml2 2.9.14+dfsg-1.3
ii  libz3-4 4.8.12-3.1
ii  zlib1g  1:1.2.13.dfsg-1

libllvm14 recommends no packages.

libllvm14 suggests no packages.

-- no debconf information



Bug#1086795: rsyslog: Segmentation fault

2024-11-05 Thread Stuart MacIntosh
Package: rsyslog
Version: 8.2406.0-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The rsyslog package on ppc64 in sid currently segfaults on Apple Xserve
G5 hardware.

Thanks,
Stuart

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 6.11.5-powerpc64 (SMP w/1 CPU thread)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsyslog depends on:
ii  libc6 2.40-3
ii  libestr0  0.1.11-1+b1
ii  libfastjson4  1.2304.0-2
ii  liblognorm5   2.0.6-4+b1
ii  libsystemd0   256.7-3
ii  libuuid1  2.40.2-10
ii  libzstd1  1.5.6+dfsg-1+b1
ii  zlib1g1:1.3.dfsg+really1.3.1-1+b1

Versions of packages rsyslog recommends:
ii  logrotate  3.22.0-1

Versions of packages rsyslog suggests:
pn  rsyslog-doc   
pn  rsyslog-gssapi
pn  rsyslog-mongodb   
pn  rsyslog-mysql | rsyslog-pgsql 
pn  rsyslog-openssl | rsyslog-gnutls  
pn  rsyslog-relp  

-- Configuration Files:
/etc/rsyslog.conf changed [not included]

-- no debconf information



Bug#1086795: rsyslog: Segmentation fault

2024-11-07 Thread Stuart MacIntosh

> On 7/11/2024, at 1:25 AM, Michael Biebl  wrote:
> 
> Control: tags -1 + moreinfo
> Control: retitle -1  rsyslog: segmentation fault on ppc64
> 
> Am 06.11.24 um 00:18 schrieb Stuart MacIntosh:
>> Package: rsyslog
>> Version: 8.2406.0-1
>> Severity: grave
>> Justification: renders package unusable
>> Dear Maintainer,
>> The rsyslog package on ppc64 in sid currently segfaults on Apple Xserve
>> G5 hardware.
> 
> Please provide a backtrace of the crash:
> https://wiki.debian.org/HowToGetABacktrace
> 
> 
> I also usertagged the issue so it shows up at [1] so the ppc porters might 
> have a look and can keep track of it.
> 
> Michael
> 
> 
> 
> [1] 
> https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=debian-powe...@lists.debian.org&tag=ppc64

Please find the backtrace bt.txt attached.

Thank you for your help.

-Stuart

# gdb rsyslogd
(gdb) run
Starting program: /usr/sbin/rsyslogd 

Program received signal SIGSEGV, Segmentation fault.
0x37ec1980 in ?? ()
(gdb) bt
#0  0x37ec1980 in ?? ()
#1  0x37fb9560 in resolve_ifunc (value=, 
map=0x37ff9100, sym_map=0x37ff86a0)
at ../sysdeps/powerpc/powerpc64/dl-machine.h:678
#2  elf_machine_rela (map=0x37ff9100, scope=, 
reloc=0x37e23750, sym=0x37e207e8, version=0x37fed860, 
reloc_addr_arg=0x37e3fea0, skip_ifunc=) at 
../sysdeps/powerpc/powerpc64/dl-machine.h:719
#3  elf_dynamic_do_Rela (map=0x37ff9100, scope=, 
reladdr=, relsize=, 
nrelative=, lazy=, skip_ifunc=) at do-rel.h:147
#4  _dl_relocate_object (l=l@entry=0x37ff9100, scope=0x37ff9498, 
reloc_mode=, 
consider_profiling=, consider_profiling@entry=0) at 
dl-reloc.c:301
#5  0x37fd157c in dl_main (phdr=, phnum=, 
user_entry=, auxv=)
at rtld.c:2314
#6  0x37fcccd8 in _dl_sysdep_start 
(start_argptr=start_argptr@entry=0x33f0, 
dl_main=dl_main@entry=@0x37ffd798: 0x37fcf670 ) at 
../sysdeps/unix/sysv/linux/dl-sysdep.c:141
#7  0x37fce510 in _dl_start_final (arg=arg@entry=0x33f0, 
info=info@entry=0x3fffedd0) at rtld.c:494
#8  0x37fcec20 in _dl_start (arg=0x33f0) at rtld.c:583
#9  0x37fcd7f0 in ._start () from /lib64/ld64.so.1


# gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' -ex 
'thread apply all bt full' --args rsyslogd >bt.txt
Program received signal SIGSEGV, Segmentation fault.
0x37ec1980 in ?? ()
#0  0x37ec1980 in ?? ()
#1  0x37fb9560 in resolve_ifunc (value=, 
map=0x37ff9100, sym_map=0x37ff86a0) at 
../sysdeps/powerpc/powerpc64/dl-machine.h:678
#2  elf_machine_rela (map=0x37ff9100, scope=, 
reloc=0x37e23750, sym=0x37e207e8, version=0x37fed860, 
reloc_addr_arg=0x37e3fea0, skip_ifunc=) at 
../sysdeps/powerpc/powerpc64/dl-machine.h:719
#3  elf_dynamic_do_Rela (map=0x37ff9100, scope=, 
reladdr=, relsize=, nrelative=, 
lazy=, skip_ifunc=) at do-rel.h:147
#4  _dl_relocate_object (l=l@entry=0x37ff9100, scope=0x37ff9498, 
reloc_mode=, consider_profiling=, 
consider_profiling@entry=0) at dl-reloc.c:301
#5  0x37fd157c in dl_main (phdr=, phnum=, 
user_entry=, auxv=) at rtld.c:2314
#6  0x37fcccd8 in _dl_sysdep_start 
(start_argptr=start_argptr@entry=0x33f0, 
dl_main=dl_main@entry=@0x37ffd798: 0x37fcf670 ) at 
../sysdeps/unix/sysv/linux/dl-sysdep.c:141
#7  0x37fce510 in _dl_start_final (arg=arg@entry=0x33f0, 
info=info@entry=0x3fffedd0) at rtld.c:494
#8  0x37fcec20 in _dl_start (arg=0x33f0) at rtld.c:583
#9  0x37fcd7f0 in ._start () from /lib64/ld64.so.1
#0  0x37ec1980 in ?? ()
No symbol table info available.
#1  0x37fb9560 in resolve_ifunc (value=, 
map=0x37ff9100, sym_map=0x37ff86a0) at 
../sysdeps/powerpc/powerpc64/dl-machine.h:678
opd = {fd_func = 70368608655728, fd_toc = 70368609204736, fd_aux = 0}
opd = 
func = 
#2  elf_machine_rela (map=0x37ff9100, scope=, 
reloc=0x37e23750, sym=0x37e207e8, version=0x37fed860, 
reloc_addr_arg=0x37e3fea0, skip_ifunc=) at 
../sysdeps/powerpc/powerpc64/dl-machine.h:719
refsym = 0x37e207e8
value = 
reloc_addr = 0x37e3fea0
r_type = 21
sym_map = 0x37ff86a0
reloc_addr = 
r_type = 
refsym = 
sym_map = 
value = 
delta = 
strtab = 
insn = 
#3  elf_dynamic_do_Rela (map=0x37ff9100, scope=, 
reladdr=, relsize=, nrelative=, 
lazy=, skip_ifunc=) at do-rel.h:147
ndx = 
sym = 0x37e207e8
r_addr_arg = 0x37e3fea0
rversion = 0x37fed860
version = 0x37e21806
relative = 
end = 
l_addr = 
symtab = 0x37e20440
r = 0x37e23750
relative = 
r =