* [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot
@ 2023-06-18 16:40 bugzilla
2023-06-18 19:35 ` [Buildroot] [Bug 15637] " bugzilla
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla @ 2023-06-18 16:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15637
Bug ID: 15637
Summary: every var expansion in a .pc file prepended with
sysroot
Product: buildroot
Version: 2023.05
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: stsp2@yandex.ru
CC: buildroot@uclibc.org
Target Milestone: ---
buildroot seems to have some pkg-config
wrapper that adds the sysroot path per every
variable expansion.
I have a .pc file that emits -rpath on --libs.
rpath with the sysroot prefix doesn't work.
How should I get the proper rpath with pkg-config
under buildroot? Can buildroot be told to not
add sysroot path to some variables?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15637] every var expansion in a .pc file prepended with sysroot
2023-06-18 16:40 [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot bugzilla
@ 2023-06-18 19:35 ` bugzilla
2023-06-18 19:52 ` bugzilla
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-06-18 19:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15637
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998@free.fr
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,
> buildroot seems to have some pkg-config wrapper that adds the sysroot path per every variable expansion.
Yes and no. Basically, that's pkconf (the pkg-config implementation Buildroot
is using) thatadds the sysroot prefix to all variable expansions. The wrapper
probided by Buildroot just ensure that the proper sysroot is used.
> I have a .pc file that emits -rpath on --libs. rpath with the sysroot prefix doesn't work.
Adding an -rpath link option should not be done in a .pc file; that's rather
incorrect.
Furthermore, the RPATH is fixed before assembling the filesystem images,
so that only RPATH valid on the targt are present (usually, none is needed);
see Makefile line 768.
Regards,
Yann E. MORIN
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15637] every var expansion in a .pc file prepended with sysroot
2023-06-18 16:40 [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot bugzilla
2023-06-18 19:35 ` [Buildroot] [Bug 15637] " bugzilla
@ 2023-06-18 19:52 ` bugzilla
2023-06-18 20:10 ` bugzilla
2024-06-15 15:10 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-06-18 19:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15637
--- Comment #2 from stsp <stsp2@yandex.ru> ---
> Adding an -rpath link option should not be done in a .pc file; that's rather
> incorrect.
What would you suggest instead?
This is a plugin library for particular
program so it doesn't reside in an
ldconfig-known location.
I am not aware of any other way than
rpath of hardcoding the non-std locations.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15637] every var expansion in a .pc file prepended with sysroot
2023-06-18 16:40 [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot bugzilla
2023-06-18 19:35 ` [Buildroot] [Bug 15637] " bugzilla
2023-06-18 19:52 ` bugzilla
@ 2023-06-18 20:10 ` bugzilla
2024-06-15 15:10 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-06-18 20:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15637
--- Comment #3 from stsp <stsp2@yandex.ru> ---
> so that only RPATH valid on the targt are present (usually, none is needed);
Maybe it can check if RPATH is
valid on target, by stripping the
sysroot path and checking the result?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15637] every var expansion in a .pc file prepended with sysroot
2023-06-18 16:40 [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot bugzilla
` (2 preceding siblings ...)
2023-06-18 20:10 ` bugzilla
@ 2024-06-15 15:10 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2024-06-15 15:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15637
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-15 15:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-18 16:40 [Buildroot] [Bug 15637] New: every var expansion in a .pc file prepended with sysroot bugzilla
2023-06-18 19:35 ` [Buildroot] [Bug 15637] " bugzilla
2023-06-18 19:52 ` bugzilla
2023-06-18 20:10 ` bugzilla
2024-06-15 15:10 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox