Public bug reported:

"uintptr_t" is incorrectly defined:

> /mnt/c/build/git/zlib-ng/zbuild.h:332:29: warning: cast from pointer to 
> integer of different size [-Wpointer-to-int-cast]
  332 |     (((uintptr_t)(align) - ((uintptr_t)(ptr) & ((align) - 1))) & 
((align) - 1))
      |                             ^

GCC is also missing all the libraries linker needs:

> /usr/bin/hppa64-linux-gnu-ld.bfd: cannot find crt1.o: No such file or 
> directory
> /usr/bin/hppa64-linux-gnu-ld.bfd: cannot find crti.o: No such file or 
> directory
> /usr/bin/hppa64-linux-gnu-ld.bfd: cannot find -lc: No such file or directory
> /usr/bin/hppa64-linux-gnu-ld.bfd: cannot find crtn.o: No such file or 
> directory
> collect2: error: ld returned 1 exit status

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gcc-16-hppa64-linux-gnu (not installed)
ProcVersionSignature: Microsoft 4.4.0-26100.9974-Microsoft 4.4.35
Uname: Linux 4.4.0-26100-Microsoft x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Nov 24 10:13:24 2026
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: gcc-16
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gcc-16 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175694

Title:
  gcc can't compile program for HPPA64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-16/+bug/2175694/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to