Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libc.spec #24

Open
dmik opened this issue Jan 23, 2019 · 4 comments

Comments

Projects
None yet
1 participant
@dmik
Copy link
Contributor

commented Jan 23, 2019

This file (http://trac.netlabs.org/rpm/browser/spec/trunk/SPECS/libc.spec) needs a lot of updates since we can build from sources now. Here are some of them:

  1. Use our scm_source macros.
  2. Remove all patches.
  3. Remove altering headers with sed etc.
  4. Enable multiplatform (i686 and pentium4) builds.
  5. Enable lxlite but tailor its options (look in Makefile.gmk for which lxlite options to use on LIBC DLL and why).
  6. Enable standard .dbg file extraction and packing.

Note that it is still to be decided if we should change the RPM versioning scheme or not. In the former case we will have to use Epoch.

dmik added a commit that referenced this issue Jan 23, 2019

Add NO_STRIP makefile variable to disable stripping debug info.
Use as `make NO_STRIP=1`. This will disable any .dbg file creation as well as stripping debug info from static libraries and packing EXEs and DLLs with lxlite.

Closes #22. Needed for #24.

Note that this will also disable packing DLLs and EXEs with lxlite

dmik added a commit that referenced this issue Jan 24, 2019

dmik added a commit that referenced this issue Jan 24, 2019

Support overriding gcc optimize flags with OPTIMIZE_FLAGS make var.
In particular, this is necessary to build different RPM flavors.

Needed for #24.
@dmik

This comment has been minimized.

Copy link
Contributor Author

commented Jan 25, 2019

Another thing to consider is removing libc-gettext and libc-db1 packages but that should be synced with removing these parts from LIBC itself I suppose. I've closed the corresponding RPM ticket http://trac.netlabs.org/rpm/ticket/329.

@dmik dmik self-assigned this Feb 5, 2019

@dmik

This comment has been minimized.

Copy link
Contributor Author

commented Feb 8, 2019

We have a few show stoppers here. The current rpm uses libc-emxomf-20150207.zip which contains an updated os2safe.h, its accompanying libos2.a and emxomfstrip.exe which is missing in the original 0.6 repo (and hence our github repo) at all. I need to sort this out.

dmik added a commit that referenced this issue Feb 8, 2019

dmik added a commit that referenced this issue Feb 8, 2019

dmik added a commit that referenced this issue Feb 13, 2019

Fix "Work around kmk .NOTPARALLEL bug for targets with complex deps."
This broke builds with relative OUT dir specifications.

This fixes commit 2427302.

Needed for #24.

dmik added a commit that referenced this issue Feb 13, 2019

Fix "Fix ar -M races in parallel builds."
This broke builds with relative OUT dir specifications.

This fixes commit c102d22.

Needed for #24.

dmik added a commit that referenced this issue Feb 13, 2019

Fix installing .a libs of normal (non-prof and non-log) TKIND's in op…
…t MODE.

This was a regression of commit 5688dd6.

Needed for #24.

dmik added a commit that referenced this issue Feb 13, 2019

Strip import .a libraries when installing.
This undoes http://trac.netlabs.org/libc/changeset/580 as it seems that
objcopy -g from newer binutils doesn't kill imports any more.

Needed for #24.

dmik added a commit that referenced this issue Feb 13, 2019

dmik added a commit that referenced this issue Feb 13, 2019

Remove more libiberty headers.
This is to further avoid conflicts with binutils.

This enhances commit 6459a40

Needed for #24.
@dmik

This comment has been minimized.

Copy link
Contributor Author

commented Feb 15, 2019

This is finally done in http://trac.netlabs.org/rpm/changeset/1591. New LIBC RPMs are pushed into the exp repo. Everyone reading this is welcome to test :)

@dmik dmik closed this Feb 15, 2019

@dmik

This comment has been minimized.

Copy link
Contributor Author

commented Feb 15, 2019

Actually there are some more things to do (multiplatform builds and removing obsolete db1 and gettext packages) which just didn't fit in the 0.1.0 release so I'm reopening it. Note that #30 is a showstopper for the multiplatform part.

@dmik dmik reopened this Feb 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.