* [PATCH] Only .so files are used in libcollector. Remove the other files.
@ 2022-03-22 22:15 vladimir.mezentsev
2022-03-23 4:20 ` Alan Modra
0 siblings, 1 reply; 4+ messages in thread
From: vladimir.mezentsev @ 2022-03-22 22:15 UTC (permalink / raw)
To: binutils
From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
gprofng/ChangeLog
2022-03-22 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* gprofng/libcollector/Makefile.am (install-data-local):
Remove the *.la and *.a libraries.
* gprofng/libcollector/Makefile.in: Regenerate.
---
gprofng/libcollector/Makefile.am | 5 ++++-
gprofng/libcollector/Makefile.in | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gprofng/libcollector/Makefile.am b/gprofng/libcollector/Makefile.am
index ffb4f977aa5..16f9e53b61a 100644
--- a/gprofng/libcollector/Makefile.am
+++ b/gprofng/libcollector/Makefile.am
@@ -80,4 +80,7 @@ libgp_collectorAPI_la_LIBADD = -lc -ldl
.PHONY: install-data-local
install-data-local: install-pkglibLTLIBRARIES
- rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+ for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+ rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+ done
+
diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
index b554b665c66..e8b2aab0471 100644
--- a/gprofng/libcollector/Makefile.in
+++ b/gprofng/libcollector/Makefile.in
@@ -1138,7 +1138,9 @@ uninstall-am: uninstall-myincludeHEADERS uninstall-pkglibLTLIBRARIES
.PHONY: install-data-local
install-data-local: install-pkglibLTLIBRARIES
- rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+ for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+ rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+ done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--
2.27.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Only .so files are used in libcollector. Remove the other files.
2022-03-22 22:15 [PATCH] Only .so files are used in libcollector. Remove the other files vladimir.mezentsev
@ 2022-03-23 4:20 ` Alan Modra
2022-03-23 5:02 ` Vladimir Mezentsev
0 siblings, 1 reply; 4+ messages in thread
From: Alan Modra @ 2022-03-23 4:20 UTC (permalink / raw)
To: vladimir.mezentsev; +Cc: binutils
On Tue, Mar 22, 2022 at 03:15:04PM -0700, Vladimir Mezentsev via Binutils wrote:
> From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>
> gprofng/ChangeLog
> 2022-03-22 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>
> * gprofng/libcollector/Makefile.am (install-data-local):
> Remove the *.la and *.a libraries.
> * gprofng/libcollector/Makefile.in: Regenerate.
This is certainly better than blindly removing all *.a and *.la from
the install directory. Please commit. You also might like to look
at what gcc/lto-plugin does.
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Only .so files are used in libcollector. Remove the other files.
2022-03-23 4:20 ` Alan Modra
@ 2022-03-23 5:02 ` Vladimir Mezentsev
2022-03-23 5:36 ` Alan Modra
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Mezentsev @ 2022-03-23 5:02 UTC (permalink / raw)
To: Alan Modra; +Cc: binutils
On 3/22/22 21:20, Alan Modra wrote:
> On Tue, Mar 22, 2022 at 03:15:04PM -0700, Vladimir Mezentsev via Binutils wrote:
>> From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>>
>> gprofng/ChangeLog
>> 2022-03-22 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>>
>> * gprofng/libcollector/Makefile.am (install-data-local):
>> Remove the *.la and *.a libraries.
>> * gprofng/libcollector/Makefile.in: Regenerate.
> This is certainly better than blindly removing all *.a and *.la from
> the install directory. Please commit. You also might like to look
> at what gcc/lto-plugin does.
I just made `git rebase` with the master branch and run:
% git push sourceware vmezents/libcollector:master
ssh: connect to host sourceware.org port 22: Network is unreachable
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It is in my .git/config:
[remote "sourceware"]
url = ssh://git@sourceware.org/git/binutils-gdb.git
fetch = +refs/heads/*:refs/remotes/sourceware/*
I never commit in sourceware.org/git/binutils-gdb.git myself.
I have an account:
Login: vmezentsev
Email: vladimir.mezentsev@oracle.com
Project: binutils
But I probably have no write access.
How can I resolve my `git push` problem ?
Thank you,
-Vladimir
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Only .so files are used in libcollector. Remove the other files.
2022-03-23 5:02 ` Vladimir Mezentsev
@ 2022-03-23 5:36 ` Alan Modra
0 siblings, 0 replies; 4+ messages in thread
From: Alan Modra @ 2022-03-23 5:36 UTC (permalink / raw)
To: Vladimir Mezentsev; +Cc: binutils
On Tue, Mar 22, 2022 at 10:02:55PM -0700, Vladimir Mezentsev wrote:
>
>
> On 3/22/22 21:20, Alan Modra wrote:
> > On Tue, Mar 22, 2022 at 03:15:04PM -0700, Vladimir Mezentsev via Binutils wrote:
> > > From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
> > >
> > > gprofng/ChangeLog
> > > 2022-03-22 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
> > >
> > > * gprofng/libcollector/Makefile.am (install-data-local):
> > > Remove the *.la and *.a libraries.
> > > * gprofng/libcollector/Makefile.in: Regenerate.
> > This is certainly better than blindly removing all *.a and *.la from
> > the install directory. Please commit. You also might like to look
> > at what gcc/lto-plugin does.
>
> I just made `git rebase` with the master branch and run:
>
> % git push sourceware vmezents/libcollector:master
> ssh: connect to host sourceware.org port 22: Network is unreachable
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
>
>
> It is in my .git/config:
> [remote "sourceware"]
> url = ssh://git@sourceware.org/git/binutils-gdb.git
> fetch = +refs/heads/*:refs/remotes/sourceware/*
I believe you need
url = ssh://vmezentsev@sourceware.org/git/binutils-gdb.git
> How can I resolve my `git push` problem ?
I pushed it for you.
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-23 5:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 22:15 [PATCH] Only .so files are used in libcollector. Remove the other files vladimir.mezentsev
2022-03-23 4:20 ` Alan Modra
2022-03-23 5:02 ` Vladimir Mezentsev
2022-03-23 5:36 ` Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).