Bug 1225877 - windows:mingw:win{32|64}/mingw{32|64}-gcc: huge size of executables
Summary: windows:mingw:win{32|64}/mingw{32|64}-gcc: huge size of executables
Status: RESOLVED FIXED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: 3rd party software (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ralf Habacker
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 18:06 UTC by Ralf Habacker
Modified: 2024-06-06 08:42 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-06-03 18:06:35 UTC
Some binaries files from the mingwxx-cross-gcc package are not stripped and needs huge disc space after installing.

$ sudo zypper install mingw32-cross-gcc-c++ install mingw64-cross-gcc-c++

$ ls -alh /usr/lib64/gcc/x86_64-w64-mingw32/13.2.0/cc* /usr/lib64/gcc/x86_64-w64-mingw32/13.2.0/lto1

-rwxr-xr-x 1 root root 270M  1. Mär 10:39 cc1
-rwxr-xr-x 1 root root 286M  1. Mär 10:39 cc1plus
-rwxr-xr-x 1 root root 260M  1. Mär 10:39 lto1

$ ls -alh /usr/lib64/gcc/i686-w64-mingw32/13.2.0/cc* /usr/lib64/gcc/i686-w64-mingw32/13.2.0/f9* /usr/lib64/gcc/i686-w64-mingw32/13.2.0/lto*
-rwxr-xr-x 1 root root 267M  1. Mär 10:34 cc1
-rwxr-xr-x 1 root root 286M  3. Jun 19:42 cc1plus
-rwxr-xr-x 1 root root 268M  1. Mär 10:34 f951
-rwxr-xr-x 1 root root 258M  1. Mär 10:34 lto1

$ sudo zypper install mingw32-cross-gcc install mingw64-cross-gcc

$ ls -alh /usr/bin/x86_64-w64-mingw32-lto-dump
-rwxr-xr-x  1 root root       260M  1. Mär 10:39 x86_64-w64-mingw32-lto-dump

$ ls -alh /usr/bin/i686-w64-mingw32-lto-dump
-rwxr-xr-x 1 root root 258M  1. Mär 10:34 /usr/bin/i686-w64-mingw32-lto-dump
Comment 1 Fridrich Strba 2024-06-04 06:36:54 UTC
Please, Ralf, don't assign me this kind of bugs. I have no time to work on it at all.
Comment 2 Ralf Habacker 2024-06-04 06:47:38 UTC
(In reply to Fridrich Strba from comment #1)
> Please, Ralf, don't assign these kinds of errors to me. I don't have time to work on to edit them at all.

I didn't actively enter your address - I opened https://build.opensuse.org/project/show/windows:mingw:win64 and saw 

> The comment function is locked. You can unblock it by clicking on the
> button below. If you want to report a bug, use the bug tracker

which returns a link that contains your address. When I currently click on this link, it seems to have been changed in the meantime.

Then there are links to https://en.opensuse.org/Build:projects:windows:mingw:win32 where you are listed as the recipient. This should also be changed.
Comment 3 Ralf Habacker 2024-06-04 07:12:08 UTC
(In reply to Ralf Habacker from comment #2)
> Then there are links to
> https://en.opensuse.org/Build:projects:windows:mingw:win32 where you are
> listed as the recipient. This should also be changed.

done