[TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler

Vladimir Mezentsev vladimir.mezentsev@oracle.com
Tue Mar 15 18:17:06 GMT 2022



On 3/15/22 07:30, ci_notify@linaro.org wrote:
> [TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler:
> commit bb368aad297fe3ad40cf397e6fc85aa471429a28
> Author: Vladimir Mezentsev<vladimir.mezentsev@oracle.com>
>
>      gprofng: a new GNU profiler
>
> Results regressed to
> # reset_artifacts:
> -10
> # true:
> 0
> # First few build errors in logs:
> # 00:00:21 configure: error: Cannot set --enable-shared for gprofng/libcollector.
> # 00:00:21 configure: error: /home/tcwg-buildslave/workspace/tcwg_gnu_7/abe/snapshots/binutils.git~master/gprofng/libcollector/configure failed for libcollector
> # 00:00:21 checking for getpagesize... make[1]: *** [Makefile:7723: configure-gprofng] Error 1
> # 00:00:32 make: *** [Makefile:1001: all] Error 2

In gprofng/libcollector, we need to generate the shared libraries:
% cat -n gprofng/libcollector/configure.ac
...
     35    LT_INIT
     36    AC_ENABLE_SHARED
     37    AC_DISABLE_STATIC
     38
     39    if test "$enable_shared" != "yes"; then
     40      AC_MSG_ERROR([Cannot set --enable-shared for 
gprofng/libcollector.])
     41    fi
     42
...


But it is so late to turn off the gprofng build.

Is there an easy way to find out if shared libraries are not supported ?
I want to know this in gprofng/configure.ac


Thank you,
-Vladimir



More information about the Binutils mailing list