Coder Social home page Coder Social logo

[openblas] Build error on x64-linux about vcpkg HOT 3 OPEN

Kicer86 avatar Kicer86 commented on June 25, 2024
[openblas] Build error on x64-linux

from vcpkg.

Comments (3)

Kicer86 avatar Kicer86 commented on June 25, 2024

Actual error was not included in log above:

[1902/1950] /usr/bin/cc  -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/x64-linux-dbg -fPIC  -DNEEDBUNDERSCORE  -DHAVE_C11 -Wall -m64 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -fPIC -DSMALL_MATRIX_OPT -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=24 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\"0.3.27\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -DADD_ -DCBLAS -g -MD -MT ctest/CMakeFiles/xccblat3_3m.dir/c_xerbla.c.o -MF ctest/CMakeFiles/xccblat3_3m.dir/c_xerbla.c.o.d -o ctest/CMakeFiles/xccblat3_3m.dir/c_xerbla.c.o -c /home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_xerbla.c
[1903/1950] /usr/bin/cc  -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/x64-linux-dbg -fPIC  -DNEEDBUNDERSCORE  -DHAVE_C11 -Wall -m64 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -fPIC -DSMALL_MATRIX_OPT -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=24 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\"0.3.27\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -DADD_ -DCBLAS -g -MD -MT ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o -MF ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o.d -o ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o -c /home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c
FAILED: ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o 
/usr/bin/cc  -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/x64-linux-dbg -fPIC  -DNEEDBUNDERSCORE  -DHAVE_C11 -Wall -m64 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -fPIC -DSMALL_MATRIX_OPT -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=24 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\"0.3.27\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -DADD_ -DCBLAS -g -MD -MT ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o -MF ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o.d -o ctest/CMakeFiles/xzcblat1.dir/c_zblat1c.c.o -c /home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c: In function ‘check1_’:
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:411:35: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
  411 |                 i__3 = i__ + (np1 + combla_1.incx * 5 << 3) - 49;
      |                               ~~~~^~~~~~~~~~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:425:41: error: passing argument 2 of ‘zscaltest_’ from incompatible pointer type [-Wincompatible-pointer-types]
  425 |                 zscaltest_(&combla_1.n, &ca, cx, &combla_1.incx);
      |                                         ^~~
      |                                         |
      |                                         doublecomplex *
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:383:54: note: expected ‘doublereal *’ {aka ‘double *’} but argument is of type ‘doublecomplex *’
  383 |     extern /* Subroutine */ int zscaltest_(integer*, doublereal*, doublecomplex*, integer*), itest1_(integer*, integer*), stest1_(doublereal*, doublereal*, doublereal*, doublereal*);
      |                                                      ^~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:426:47: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
  426 |                 ctest_(&len, cx, &ctrue5[(np1 + combla_1.incx * 5 << 3) - 48],
      |                                           ~~~~^~~~~~~~~~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:427:39: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
  427 |                          &ctrue5[(np1 + combla_1.incx * 5 << 3) - 48], sfac);
      |                                   ~~~~^~~~~~~~~~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:431:47: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
  431 |                 ctest_(&len, cx, &ctrue6[(np1 + combla_1.incx * 5 << 3) - 48],
      |                                           ~~~~^~~~~~~~~~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:432:39: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
  432 |                          &ctrue6[(np1 + combla_1.incx * 5 << 3) - 48], sfac);
      |                                   ~~~~^~~~~~~~~~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:459:27: error: passing argument 2 of ‘zscaltest_’ from incompatible pointer type [-Wincompatible-pointer-types]
  459 |         zscaltest_(&c__5, &ca, cx, &combla_1.incx);
      |                           ^~~
      |                           |
      |                           doublecomplex *
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:383:54: note: expected ‘doublereal *’ {aka ‘double *’} but argument is of type ‘doublecomplex *’
  383 |     extern /* Subroutine */ int zscaltest_(integer*, doublereal*, doublecomplex*, integer*), itest1_(integer*, integer*), stest1_(doublereal*, doublereal*, doublereal*, doublereal*);
      |                                                      ^~~~~~~~~~~
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c: In function ‘check2_’:
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:650:41: error: passing argument 2 of ‘zaxpytest_’ from incompatible pointer type [-Wincompatible-pointer-types]
  650 |                 zaxpytest_(&combla_1.n, &ca, cx, &combla_1.incx, cy, &
      |                                         ^~~
      |                                         |
      |                                         doublecomplex *
/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_zblat1c.c:598:54: note: expected ‘doublereal *’ {aka ‘double *’} but argument is of type ‘doublecomplex *’
  598 |     extern /* Subroutine */ int zaxpytest_(integer*, doublereal*, doublecomplex*, integer*, doublecomplex*, integer*);
      |                                                      ^~~~~~~~~~~
[1904/1950] /usr/bin/cc  -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean -I/home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/x64-linux-dbg -fPIC  -DNEEDBUNDERSCORE  -DHAVE_C11 -Wall -m64 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -fPIC -DSMALL_MATRIX_OPT -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=24 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\"0.3.27\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -DADD_ -DCBLAS -g -MD -MT ctest/CMakeFiles/xccblat3.dir/c_cblas3.c.o -MF ctest/CMakeFiles/xccblat3.dir/c_cblas3.c.o.d -o ctest/CMakeFiles/xccblat3.dir/c_cblas3.c.o -c /home/michal/projects/sources/broom/vcpkg/buildtrees/openblas/src/v0.3.27-b066c33329.clean/ctest/c_cblas3.c

from vcpkg.

JonLiu1993 avatar JonLiu1993 commented on June 25, 2024

@Kicer86, Thanks for posting this issue, I can't reproduce this error on my machine:

Stored binaries in 1 destinations in 2 s.
Elapsed time to handle dlib:x64-linux: 37 s
dlib:x64-linux package ABI: 4f7b29a51fccc0367bb0d3a48ea8d4c7cf0290fe027ea7bb96644a936d89eea2
Total install time: 2.6 min
dlib provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(dlib CONFIG REQUIRED)
  target_link_libraries(main PRIVATE dlib::dlib)

dlib provides pkg-config modules:

  # Numerical and networking C++ library
  dlib-1

what's your gcc version?

from vcpkg.

Kicer86 avatar Kicer86 commented on June 25, 2024
$ gcc --version
gcc (GCC) 14.1.1 20240507
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm using arch ( btw ;) )

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.