Em qua., 24 de ago. de 2022 às 15:19, Samuel Thibault
<sthiba...@debian.org> escreveu:
>
> Hello,
>
> Eriberto Mota, le mer. 24 août 2022 14:20:26 -0300, a ecrit:
> > Em qua., 24 de ago. de 2022 às 12:33, Samuel Thibault
> > <sthiba...@debian.org> escreveu:
> > >
> > > We can see
> > >
> > > 469:NONVERBOSE BUILD: [ 35%] Building C object 
> > > src/modules/mpi/CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgather.c.o
> > > 479:NONVERBOSE BUILD: [ 37%] Building C object 
> > > src/modules/mpi/CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgatherv.c.o
> > > 487:NONVERBOSE BUILD: [ 39%] Building C object 
> > > src/modules/mpi/CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allreduce.c.o
> > > etc.
> > >
> > > But there are the corresponding verbose lines just after them:
> > >
> > > https://salsa.debian.org/debian/eztrace/-/jobs/3143966/raw
> > >
> > > [ 35%] Building C object 
> > > src/modules/mpi/CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgather.c.o
> > > cd 
> > > /builds/debian/eztrace/debian/output/source_dir/build-mpich/src/modules/mpi
> > >  && /usr/bin/mpicc.mpich -Deztrace_mpi_EXPORTS 
> > > -I/builds/debian/eztrace/debian/output/source_dir/src/modules/mpi 
> > > -I/builds/debian/eztrace/debian/output/source_dir/src/core/include/eztrace-core
> > >  -I/builds/debian/eztrace/debian/output/source_dir/src/core/include 
> > > -I/builds/debian/eztrace/debian/output/source_dir/build-mpich/src/core/include
> > >  
> > > -I/builds/debian/eztrace/debian/output/source_dir/src/eztrace-lib/include 
> > > -g -O2 
> > > -ffile-prefix-map=/builds/debian/eztrace/debian/output/source_dir=. 
> > > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> > > -D_FORTIFY_SOURCE=2 -I/usr/include -D_GNU_SOURCE -fPIC -Wall -Wextra 
> > > -Wpedantic -DUSE_MPI3 -DLD_PRELOAD_NAME=\"LD_PRELOAD\" 
> > > -DMPI_MODULE_NAME=mpich -Wno-error=incompatible-pointer-types 
> > > -Wno-error=pointer-arith -Wno-error=int-conversion 
> > > -Wno-gnu-zero-variadic-macro-arguments -D_GNU_SOURCE -MD -MT 
> > > src/modules/mpi/CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgather.c.o 
> > > -MF CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgather.c.o.d -o 
> > > CMakeFiles/eztrace-mpi.dir/mpi_funcs/mpi_allgather.c.o -c 
> > > /builds/debian/eztrace/debian/output/source_dir/src/modules/mpi/mpi_funcs/mpi_allgather.c
> >
> >
> > This issue was caused by a specific behavior of the cmake on this
> > source code. Please, check the attached patch to fix the problem,
> > forcing blhc to ignore the inadequate lines.
>
> That does work indeed, thanks!  But can't this specific behavior of
> cmake be caught by blhc?

There are infinite possibilities around possible false positives (or
not). A perfect blhc would need AI. So, for blhc, this is not a bug. I
have several packages using cmake and none of these have issues with
blhc. The "blhc ignore" was added to blhc to solve small bad
behaviours.

Cheers,

Eriberto

Reply via email to