Public bug reported:

libstdc++5 31-bit (or 32-bit, I will leave that up to your liking ;-)
and 64-bit binaries builds perfectly on s390x architecture using
gcc-3.3-3.3.6ds1 source.

I am attaching a file containing my modified files, as well as a patch
to fix lib and lib64 paths to lib32 and lib respectively on
src/gcc/config/s390/t-linux64 so that the linker is able to find the
correct location of libc6-dev files when compiling with multilib
enabled.

Please take my apologies, as I am not used on how deb packaging works
and know very little about its guidelines and, even though there are
still some adjustments to be made such as the build-depends and install
Makefile's to properly generate the 31-bit deb file, I believe the
attached files can get us half the way done. Also, these have been built
using s390x as a host, so maybe other adjustments are made necessary if
cross-compiling. Therefore, if any testing is needed please let me know.

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

** Patch added: "gcc-3.3-3.3.6ds1_MODs390x.tar.gz"
   
https://bugs.launchpad.net/bugs/1622345/+attachment/4738724/+files/gcc-3.3-3.3.6ds1_MODs390x.tar.gz

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

Title:
  [Wishlist] libstdc++5 should be built on s390x

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

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

Reply via email to