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

gcc installs unnecessary libs #37

Open
rofl0r opened this issue Jul 22, 2014 · 3 comments
Open

gcc installs unnecessary libs #37

rofl0r opened this issue Jul 22, 2014 · 3 comments

Comments

@rofl0r
Copy link
Collaborator

rofl0r commented Jul 22, 2014

for example libiberty.a
this may cause build error of other gnu sw using libiberty when they expect another version (the one in their source tree, which only gets build when libiberty is not already installed), and wastes space.

some other things like libatomic can possibly be removed as well.

@bradfa
Copy link
Contributor

bradfa commented Jan 29, 2015

@rofl0r:
Is building the first & second pass of gcc with --disable-target-libiberty suitable to fix your libiberty.a concern? I notice that the first pass of gcc does install a libiberty.a but then the second pass seems to update that file.
Is also building the second pass of gcc with --disable-libatomic suitable to fix your libatomic concern? Are the atomic operations provided by musl suitable to make libatomic not needed? (I honestly don't know enough to answer this)

@bradfa
Copy link
Contributor

bradfa commented Jan 29, 2015

It seems that now, master at 09bb1b9 when building with gcc 4.9.2 that libiberty.a does not get created. libatomic is still there.
Did the GCC devs fix this or am I missing something?

@GregorR
Copy link
Owner

GregorR commented Jan 29, 2015

I sure haven't fixed anything :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants