[GSOC/RFC] configure script failing

Rohit Sarkar rohitsarkar5398 at gmail.com
Fri Feb 28 04:44:15 UTC 2020


On Fri, Feb 28, 2020 at 02:35:22AM +0300, Dmitry V. Levin wrote:
> Hi,
> 
> On Fri, Feb 28, 2020 at 01:48:40AM +0530, Rohit Sarkar wrote:
> > Hey,
> > I am Rohit and interested in being a part of the strace community,
> > through gsoc.
> > 
> > I was trying to build strace from source and while running the configure
> > script I faced this error:
> > 
> > "
> > checking for m32 personality compile support (using gcc  -I.  -m32)... no
> > checking whether to enable m32 personality support... no
> > configure: error: Cannot enable m32 personality support
> > "
> > 
> > I am running a x86_64 system and using gcc as my compiler.
> 
> It's very unusual to have a x86_64 system where gcc -m32 doesn't work
> at all, I wonder what kind of x86_64 system provides gcc without -m32.
> Have you looked into config.log for any hints?
> 

This is what I see in my config.log:
"
st_cv_m32_cc=no
st_cv_m32_mpers=no
"

> > I presume my compiler doesn't have mpers support, but I think in this
> > case the configure script should either not fail or give an informative
> > error message asking to run the script with --disable-mpers.
> 
> There was some help written for cases like this but you probably wasn't
> aware of it:
> 
> $ ./configure --help |sed -n '/mpers/,/default/p'
>   --enable-mpers=yes|no|check|m32|mx32
>                           whether to enable multiple personalities support
>                           required for proper decoding of structures used by
>                           tracees with personalities that differ from the
>                           personality of strace, default is yes.
> 
> You could use e.g. --enable-mpers=check to check whether mpers support can
> be enabled and enable it if the answer is yes.
> 

Yes, I hadnt seen this. Although my point was more around, if mpers is
not supported can the configure script automatically log that and
continue without mpers support instead of failing.

Thanks,
Rohit
> -- 
> ldv
> -- 
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel


More information about the Strace-devel mailing list