Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 636728 Details for
Bug 721484
dev-db/mysql-connector-c-8.0.20 - compilation issue
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/plain), 29.99 KB, created by
Marek Duranik
on 2020-05-07 13:50:05 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Marek Duranik
Created:
2020-05-07 13:50:05 UTC
Size:
29.99 KB
patch
obsolete
>Performing C SOURCE FILE Test C_LD_LLD_RESULT failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_85502 && [1/2] Building C object CMakeFiles/cmTC_85502.dir/src.c.o >[2/2] Linking C executable cmTC_85502 >FAILED: cmTC_85502 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DC_LD_LLD_RESULT -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_85502.dir/src.c.o -o cmTC_85502 -fuse-ld=lld && : >collect2: fatal error: cannot find âldâ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: >int main() {} >Performing C++ SOURCE FILE Test CXX_LD_LLD_RESULT failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_20a14 && [1/2] Building CXX object CMakeFiles/cmTC_20a14.dir/src.cxx.o >[2/2] Linking CXX executable cmTC_20a14 >FAILED: cmTC_20a14 >: && /usr/bin/x86_64-pc-linux-gnu-g++ -DCXX_LD_LLD_RESULT -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_20a14.dir/src.cxx.o -o cmTC_20a14 -fuse-ld=lld && : >collect2: fatal error: cannot find âldâ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: >int main() {} >Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_23dda && [1/2] Building C object CMakeFiles/cmTC_23dda.dir/src.c.o >[2/2] Linking C executable cmTC_23dda >FAILED: cmTC_23dda >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_23dda.dir/src.c.o -o cmTC_23dda && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_23dda.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): undefined reference to `pthread_create' >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_cancel' >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >void* test_func(void* data) >{ > return data; >} > >int main(void) >{ > pthread_t thread; > pthread_create(&thread, NULL, test_func, NULL); > pthread_detach(thread); > pthread_cancel(thread); > pthread_join(thread, NULL); > pthread_atfork(NULL, NULL, NULL); > pthread_exit(NULL); > > return 0; >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_fca9f && [1/2] Building C object CMakeFiles/cmTC_fca9f.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_fca9f >FAILED: cmTC_fca9f >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_fca9f.dir/CheckFunctionExists.c.o -o cmTC_fca9f -lpthreads && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function floor exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3e2ec && [1/2] Building C object CMakeFiles/cmTC_3e2ec.dir/CheckFunctionExists.c.o ><command-line>: warning: conflicting types for built-in function âfloorâ; expected âdouble(double)â [-Wbuiltin-declaration-mismatch] >/usr/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro âCHECK_FUNCTION_EXISTSâ > 7 | CHECK_FUNCTION_EXISTS(void); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/share/cmake/Modules/CheckFunctionExists.c:1:1: note: âfloorâ is declared in header â<math.h>â > +++ |+#include <math.h> > 1 | #ifdef CHECK_FUNCTION_EXISTS >[2/2] Linking C executable cmTC_3e2ec >FAILED: cmTC_3e2ec >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=floor -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_3e2ec.dir/CheckFunctionExists.c.o -o cmTC_3e2ec && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3e2ec.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `floor' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function crypt exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_aab62 && [1/2] Building C object CMakeFiles/cmTC_aab62.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_aab62 >FAILED: cmTC_aab62 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=crypt -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_aab62.dir/CheckFunctionExists.c.o -o cmTC_aab62 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_aab62.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `crypt' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function dlopen exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6ca5e && [1/2] Building C object CMakeFiles/cmTC_6ca5e.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_6ca5e >FAILED: cmTC_6ca5e >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=dlopen -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_6ca5e.dir/CheckFunctionExists.c.o -o cmTC_6ca5e && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6ca5e.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dlopen' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function timer_create exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_9056a && [1/2] Building C object CMakeFiles/cmTC_9056a.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_9056a >FAILED: cmTC_9056a >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=timer_create -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_9056a.dir/CheckFunctionExists.c.o -o cmTC_9056a && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_9056a.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `timer_create' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function atomic_thread_fence exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_9a2a4 && [1/2] Building C object CMakeFiles/cmTC_9a2a4.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_9a2a4 >FAILED: cmTC_9a2a4 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=atomic_thread_fence -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_9a2a4.dir/CheckFunctionExists.c.o -o cmTC_9a2a4 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_9a2a4.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `atomic_thread_fence' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function _aligned_malloc exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3d5c7 && [1/2] Building C object CMakeFiles/cmTC_3d5c7.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_3d5c7 >FAILED: cmTC_3d5c7 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=_aligned_malloc -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_3d5c7.dir/CheckFunctionExists.c.o -o cmTC_3d5c7 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3d5c7.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_aligned_malloc' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function directio exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_4d7f2 && [1/2] Building C object CMakeFiles/cmTC_4d7f2.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_4d7f2 >FAILED: cmTC_4d7f2 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=directio -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_4d7f2.dir/CheckFunctionExists.c.o -o cmTC_4d7f2 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_4d7f2.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `directio' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function gethrtime exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_abd30 && [1/2] Building C object CMakeFiles/cmTC_abd30.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_abd30 >FAILED: cmTC_abd30 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=gethrtime -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_abd30.dir/CheckFunctionExists.c.o -o cmTC_abd30 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_abd30.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `gethrtime' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function getpassphrase exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2337d && [1/2] Building C object CMakeFiles/cmTC_2337d.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_2337d >FAILED: cmTC_2337d >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=getpassphrase -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_2337d.dir/CheckFunctionExists.c.o -o cmTC_2337d -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2337d.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getpassphrase' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function issetugid exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_05c92 && [1/2] Building C object CMakeFiles/cmTC_05c92.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_05c92 >FAILED: cmTC_05c92 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=issetugid -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_05c92.dir/CheckFunctionExists.c.o -o cmTC_05c92 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_05c92.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `issetugid' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function strlcpy exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_c3fa7 && [1/2] Building C object CMakeFiles/cmTC_c3fa7.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_c3fa7 >FAILED: cmTC_c3fa7 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=strlcpy -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_c3fa7.dir/CheckFunctionExists.c.o -o cmTC_c3fa7 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c3fa7.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strlcpy' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function strlcat exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_8e237 && [1/2] Building C object CMakeFiles/cmTC_8e237.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_8e237 >FAILED: cmTC_8e237 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=strlcat -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_8e237.dir/CheckFunctionExists.c.o -o cmTC_8e237 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8e237.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strlcat' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function tell exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_062d3 && [1/2] Building C object CMakeFiles/cmTC_062d3.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_062d3 >FAILED: cmTC_062d3 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=tell -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_062d3.dir/CheckFunctionExists.c.o -o cmTC_062d3 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_062d3.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `tell' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function ntohll exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_58601 && [1/2] Building C object CMakeFiles/cmTC_58601.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_58601 >FAILED: cmTC_58601 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=ntohll -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_58601.dir/CheckFunctionExists.c.o -o cmTC_58601 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_58601.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `ntohll' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the FIONREAD exist failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_87852 && [1/2] Building C object CMakeFiles/cmTC_87852.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_87852.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -fPIE -o CMakeFiles/cmTC_87852.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:2:10: fatal error: sys/filio.h: No such file or directory > 2 | #include <sys/filio.h> > | ^~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <sys/filio.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef FIONREAD > return ((int*)(&FIONREAD))[argc]; >#else > (void)argc; > return 0; >#endif >} >Determining if the function kqueue exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_88fce && [1/2] Building C object CMakeFiles/cmTC_88fce.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_88fce >FAILED: cmTC_88fce >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DCHECK_FUNCTION_EXISTS=kqueue -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_88fce.dir/CheckFunctionExists.c.o -o cmTC_88fce -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_88fce.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `kqueue' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the EVFILT_TIMER exist failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_fa7d9 && [1/2] Building C object CMakeFiles/cmTC_fa7d9.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_fa7d9.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -fPIE -o CMakeFiles/cmTC_fa7d9.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:3:10: fatal error: sys/event.h: No such file or directory > 3 | #include <sys/event.h> > | ^~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <sys/types.h> >#include <sys/event.h> >#include <sys/time.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef EVFILT_TIMER > return ((int*)(&EVFILT_TIMER))[argc]; >#else > (void)argc; > return 0; >#endif >} >Performing C SOURCE FILE Test HAVE_PTHREAD_GETTHREADID_NP failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_e38a9 && [1/2] Building C object CMakeFiles/cmTC_e38a9.dir/src.c.o >FAILED: CMakeFiles/cmTC_e38a9.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -DHAVE_PTHREAD_GETTHREADID_NP -fPIE -o CMakeFiles/cmTC_e38a9.dir/src.c.o -c src.c >src.c:2:10: fatal error: pthread_np.h: No such file or directory > 2 | #include <pthread_np.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: > >#include <pthread_np.h> >int main(int ac, char **av) >{ > unsigned long long tid = pthread_getthreadid_np(); > return (tid != 0 ? 0 : 1); >} >Performing C SOURCE FILE Test HAVE_PTHREAD_THREADID_NP failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_16b38 && [1/2] Building C object CMakeFiles/cmTC_16b38.dir/src.c.o >src.c: In function âmainâ: >src.c:6:3: warning: implicit declaration of function âpthread_threadid_npâ; did you mean âpthread_tryjoin_npâ? [-Wimplicit-function-declaration] > 6 | pthread_threadid_np(NULL, &tid64); > | ^~~~~~~~~~~~~~~~~~~ > | pthread_tryjoin_np >[2/2] Linking C executable cmTC_16b38 >FAILED: cmTC_16b38 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -mno-aes -mno-pclmul -DHAVE_PTHREAD_THREADID_NP -Wl,-O1 -Wl,--sort-common CMakeFiles/cmTC_16b38.dir/src.c.o -o cmTC_16b38 -lm -lcrypt -ldl -lpthread -lrt -latomic && : >/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_16b38.dir/src.c.o: in function `main': >src.c:(.text.startup+0x1a): undefined reference to `pthread_threadid_np' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: > >#include <pthread.h> >int main(int ac, char **av) >{ > unsigned long long tid64; > pthread_threadid_np(NULL, &tid64); > return (tid64 != 0 ? 0 : 1); >} >Determining if the include file netinet/in6.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_92529 && [1/2] Building C object CMakeFiles/cmTC_92529.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_92529.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -fPIE -o CMakeFiles/cmTC_92529.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: netinet/in6.h: No such file or directory > 1 | #include <netinet/in6.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining size of struct in6_addr failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_b1017 && [1/2] Building C object CMakeFiles/cmTC_b1017.dir/SIZEOF_IN6_ADDR.c.o >FAILED: CMakeFiles/cmTC_b1017.dir/SIZEOF_IN6_ADDR.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -fPIE -o CMakeFiles/cmTC_b1017.dir/SIZEOF_IN6_ADDR.c.o -c /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of âsizeofâ to incomplete type âstruct in6_addrâ > 27 | #define SIZE (sizeof(struct in6_addr)) > | ^~~~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:29:12: note: in expansion of macro âSIZEâ > 29 | ('0' + ((SIZE / 10000)%10)), > | ^~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of âsizeofâ to incomplete type âstruct in6_addrâ > 27 | #define SIZE (sizeof(struct in6_addr)) > | ^~~~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:30:12: note: in expansion of macro âSIZEâ > 30 | ('0' + ((SIZE / 1000)%10)), > | ^~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of âsizeofâ to incomplete type âstruct in6_addrâ > 27 | #define SIZE (sizeof(struct in6_addr)) > | ^~~~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:31:12: note: in expansion of macro âSIZEâ > 31 | ('0' + ((SIZE / 100)%10)), > | ^~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of âsizeofâ to incomplete type âstruct in6_addrâ > 27 | #define SIZE (sizeof(struct in6_addr)) > | ^~~~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:32:12: note: in expansion of macro âSIZEâ > 32 | ('0' + ((SIZE / 10)%10)), > | ^~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of âsizeofâ to incomplete type âstruct in6_addrâ > 27 | #define SIZE (sizeof(struct in6_addr)) > | ^~~~~~ >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:33:12: note: in expansion of macro âSIZEâ > 33 | ('0' + (SIZE % 10)), > | ^~~~ >ninja: build stopped: subcommand failed. > > >/var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c: >#include <sys/types.h> >#include <stdint.h> >#include <stddef.h> >#include "stdint.h" >#include "stdio.h" >#include "sys/types.h" >#include "time.h" > > >#undef KEY >#if defined(__i386) ># define KEY '_','_','i','3','8','6' >#elif defined(__x86_64) ># define KEY '_','_','x','8','6','_','6','4' >#elif defined(__ppc__) ># define KEY '_','_','p','p','c','_','_' >#elif defined(__ppc64__) ># define KEY '_','_','p','p','c','6','4','_','_' >#elif defined(__aarch64__) ># define KEY '_','_','a','a','r','c','h','6','4','_','_' >#elif defined(__ARM_ARCH_7A__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' >#elif defined(__ARM_ARCH_7S__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' >#endif > >#define SIZE (sizeof(struct in6_addr)) >static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', > ('0' + ((SIZE / 10000)%10)), > ('0' + ((SIZE / 1000)%10)), > ('0' + ((SIZE / 100)%10)), > ('0' + ((SIZE / 10)%10)), > ('0' + (SIZE % 10)), > ']', >#ifdef KEY > ' ','k','e','y','[', KEY, ']', >#endif > '\0'}; > >#ifdef __CLASSIC_C__ >int main(argc, argv) int argc; char *argv[]; >#else >int main(int argc, char *argv[]) >#endif >{ > int require = 0; > require += info_size[argc]; > (void)argv; > return require; >} > > >Performing C SOURCE FILE Test HAVE_SOCKADDR_IN_SIN_LEN failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6e8da && [1/2] Building C object CMakeFiles/cmTC_6e8da.dir/src.c.o >FAILED: CMakeFiles/cmTC_6e8da.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -DHAVE_SOCKADDR_IN_SIN_LEN -fPIE -o CMakeFiles/cmTC_6e8da.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:8:41: error: âstruct sockaddr_inâ has no member named âsin_lenâ > 8 | (void)sizeof(((struct sockaddr_in *)0)->sin_len); > | ^~ >ninja: build stopped: subcommand failed. > > >Source file was: > >#include <sys/types.h> >#include <netinet/in.h> >#include <sys/socket.h> > >int main() >{ > (void)sizeof(((struct sockaddr_in *)0)->sin_len); > return 0; >} > >Performing C SOURCE FILE Test HAVE_SOCKADDR_IN6_SIN6_LEN failed with the following output: >Change Dir: /var/tmp/portage/dev-db/mysql-connector-c-8.0.20/work/mysql-8.0.20-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_b59ab && [1/2] Building C object CMakeFiles/cmTC_b59ab.dir/src.c.o >FAILED: CMakeFiles/cmTC_b59ab.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -march=native -O2 -pipe -mno-aes -mno-pclmul -DHAVE_SOCKADDR_IN6_SIN6_LEN -fPIE -o CMakeFiles/cmTC_b59ab.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:8:42: error: âstruct sockaddr_in6â has no member named âsin6_lenâ > 8 | (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len); > | ^~ >ninja: build stopped: subcommand failed. > > >Source file was: > >#include <sys/types.h> >#include <netinet/in.h> >#include <sys/socket.h> > >int main() >{ > (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len); > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 721484
: 636728 |
636730
|
638502