Re: [Libguestfs] Why cant't use the pie link option when compiling libgustfs

2022-10-20 Thread Richard W.M. Jones
On Fri, Oct 21, 2022 at 12:10:43AM +0800, guiHua wrote: > Hello >When I compile libgustfs, it will throw exception: undefined reference to > 'caml_local_roots' when adding pie link option. > Why is that? The command is like this: > ./configure CFLAGS="-O2 -fPIC" LDFLAGS="-pie -Wl". Is tha

[Libguestfs] Why cant't use the pie link option when compiling libgustfs

2022-10-20 Thread guiHua
Hello??   When I compile libgustfs, it will throw exception: undefined reference to 'caml_local_roots' when adding pie link option.  Why is that? The command is like this: ./configure CFLAGS="-O2 -fPIC" LDFLAGS="-pie -Wl". I look forward to hearing from you._