Are xen.git/tools/pkg-config/*.pc used anywere/working ?
Hi,
I've been trying to use the pkg-config files generated in tools/pkg-config/ when building QEMU, but those files only contains "-Wl,-rpath-link" and "-l" options. At link times, the linker just doesn't find the *.so.
Are those *.pc actually used anywhere, and working for someone? QEMU certainly can't use them. (The one that end-up been installed on the system works fine.)
I think that the file generated in tools/pkg-config/*.pc should also have the -L options. To me, -rpath-link is only useful for the dependency of a .so (e.g. xencall been linked against xentoollog, but qemu doesn't need to link against it).
Cheers,
Signature · 6 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · Anthony PERARD
Hi,
I've been trying to use the pkg-config files generated in
tools/pkg-config/when building QEMU, but those files only contains "-Wl,-rpath-link" and "-l" options. At link times, the linker just doesn't find the *.so.
Quoted 8 lines
Are those *.pc actually used anywhere, and working for someone? QEMU certainly can't use them. (The one that end-up been installed on the system works fine.)
I think that the file generated in
tools/pkg-config/*.pcshould also have the -L options. To me, -rpath-link is only useful for the dependency of a .so (e.g. xencall been linked against xentoollog, but qemu doesn't need to link against it).
Good point.
Juergen? Presumably you had those files working when you wrote those patches?
Wei.
Quoted 5 lines
Cheers,
Signature · 1 line
Anthony PERARD
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 17 lines · Wei Liu
Quoted 7 lines · Anthony PERARD
Hi,
I've been trying to use the pkg-config files generated in
tools/pkg-config/when building QEMU, but those files only contains "-Wl,-rpath-link" and "-l" options. At link times, the linker just doesn't find the *.so.Quoted 8 lines
Are those *.pc actually used anywhere, and working for someone? QEMU certainly can't use them. (The one that end-up been installed on the system works fine.)
I think that the file generated in
tools/pkg-config/*.pcshould also have the -L options. To me, -rpath-link is only useful for the dependency of a .so (e.g. xencall been linked against xentoollog, but qemu doesn't need to link against it).
Quoted 4 lines
Good point.
Juergen? Presumably you had those files working when you wrote those patches?
I think they did.
Maybe I was fooled somehow? But AFAIR I did some iterations until they worked for me.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 20 lines · Juergen Gross
Quoted 19 lines · Wei Liu
Quoted 7 lines · Anthony PERARD
Hi,
I've been trying to use the pkg-config files generated in
tools/pkg-config/when building QEMU, but those files only contains "-Wl,-rpath-link" and "-l" options. At link times, the linker just doesn't find the *.so.Quoted 8 lines
Are those *.pc actually used anywhere, and working for someone? QEMU certainly can't use them. (The one that end-up been installed on the system works fine.)
I think that the file generated in
tools/pkg-config/*.pcshould also have the -L options. To me, -rpath-link is only useful for the dependency of a .so (e.g. xencall been linked against xentoollog, but qemu doesn't need to link against it).Good point.
Quoted 7 lines
Quoted 2 lines
Juergen? Presumably you had those files working when you wrote those patches?
I think they did.
Maybe I was fooled somehow? But AFAIR I did some iterations until they worked for me.
Oh, I have just found an old patch lying around adding the "-L" option to the local pkg-config files, as qemu needs those for building... :-)
I'll post it.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 26 lines · Juergen Gross
Quoted 25 lines · Juergen Gross
Quoted 17 lines · Wei Liu
Quoted 7 lines · Anthony PERARD
Hi,
I've been trying to use the pkg-config files generated in
tools/pkg-config/when building QEMU, but those files only contains "-Wl,-rpath-link" and "-l" options. At link times, the linker just doesn't find the *.so.Quoted 8 lines
Are those *.pc actually used anywhere, and working for someone? QEMU certainly can't use them. (The one that end-up been installed on the system works fine.)
I think that the file generated in
tools/pkg-config/*.pcshould also have the -L options. To me, -rpath-link is only useful for the dependency of a .so (e.g. xencall been linked against xentoollog, but qemu doesn't need to link against it).Quoted 4 lines
Good point.
Juergen? Presumably you had those files working when you wrote those patches?
I think they did.
Quoted 7 lines
Quoted 2 lines
Maybe I was fooled somehow? But AFAIR I did some iterations until they worked for me.
Oh, I have just found an old patch lying around adding the "-L" option to the local pkg-config files, as qemu needs those for building... :-)
I'll post it.
Nice. :-)
Wei.
Quoted 9 lines
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel