MySQL Forums
Forum List  »  Install & Repo

Re: CMake Error at /usr/local/src/mysql-8.4.2/mysys/verify_build_id.cmake:4 1 (MESSAGE)
Posted by: Jose Navarro
Date: March 03, 2025 08:13AM

Hi Bjørn!

I have the same problem:

OS --> Rocky Linux 9.5
MysQL version --> 8.4.4

CMAKE command --> cmake .. -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=/opt/mysql-8.4.4 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_DATADIR=/home/mysql/datos -DBUILD_CONFIG=mysql_release

Execution PATH: ....../mysql-8.4.4/micompilacion


Source code from: "MySQL Community Downloads" (https://dev.mysql.com/downloads/mysql/)
- Select Version: 8.4.4 LTS
- Select Operating System: Source Code

Make error:

8<===============================================================================================
...
[ 57%] Built target mf_iocache_test
[ 57%] Building CXX object mysys/CMakeFiles/build_id_test.dir/build_id_test.cc.o
[ 57%] Building CXX object mysys/CMakeFiles/build_id_test.dir/build_id.cc.o
[ 57%] Linking CXX executable ../runtime_output_directory/build_id_test
Verifying build-id
-- ./build_id_test output: BuildID[sha1]=75d2780e5af151043f3e33bb29b033670c3ea6d6

-- /usr/bin/readelf ./build_id_test output:
Displaying notes found in: .note.gnu.property
Propietario Tamaño de datos Description
GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0
Properties: x86 feature: IBT, SHSTK
<procesor-specific type 0xc0008002 data: 03 00 00 00 >

Displaying notes found in: .note.gnu.build-id
Propietario Tamaño de datos Description
GNU 0x00000014 NT_GNU_BUILD_ID (cadena de bits de ID de construcción única)
ID de Compilación: 75d2780e5af151043f3e33bb29b033670c3ea6d6

Displaying notes found in: .note.ABI-tag
Propietario Tamaño de datos Description
GNU 0x00000010 NT_GNU_ABI_TAG (etiqueta de versión de ABI)
SO: Linux, ABI: 3.2.0

Displaying notes found in: .gnu.build.attributes
Propietario Tamaño de datos Description
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x401180 to 0x4011a6
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x4011b5 to 0x4011b5
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x401000 to 0x401016
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x401340 to 0x401348
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x4011c0 to 0x401266
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x40133d to 0x40133d (.annobin__ZL17build_id_callbackP12dl_phdr_infomPv.end)
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x40133d to 0x40133d (.annobin__ZL17build_id_callbackP12dl_phdr_infomPv.end)
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x401016 to 0x40101b
GA$<version>3a1 0x00000010 OPEN
Applies to region from 0x401348 to 0x40134d
GA$<version>3g1108 0x00000010 OPEN
Applies to region from 0x4010b0 to 0x4010b0 (.annobin_lto.unlikely)
GA$<tool>runnin[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA$<tool>annobi[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA$<tool>plugin[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA*GOW:0x000000029055c 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<stack prot>[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA+stack_clash:true 0x00000000 OPEN
Applies to region from 0x4010b0
GA*cf_protection:0x008 0x00000000 OPEN
Applies to region from 0x4010b0
GA*FORTIFY:0x0000000fe 0x00000000 OPEN
Applies to region from 0x4010b0
GA+GLIBCXX_ASSERTION: 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<PIC>PIE 0x00000000 OPEN
Applies to region from 0x4010b0
GA!<short enum>false 0x00000000 OPEN
Applies to region from 0x4010b0
GA!omit_frame_pointe: 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<ABI>0x000008000012 0x00000000 OPEN
Applies to region from 0x4010b0
GA$<version>3g1108 0x00000010 OPEN
Applies to region from 0x4010b0 to 0x401176 (.annobin_lto.unlikely)
GA$<tool>runnin[...] 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA$<tool>annobi[...] 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA$<tool>plugin[...] 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*GOW:0x000000029055c 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*<stack prot>[...] 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA+stack_clash:true 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*cf_protection:0x008 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*FORTIFY:0x0000000fe 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA+GLIBCXX_ASSERTION: 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*<PIC>PIE 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA!<short enum>false 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA!omit_frame_pointe: 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA*<ABI>0x000008000012 0x00000000 OPEN
Applies to region from 0x4010b0 to 0x401176
GA$<version>3g1108 0x00000010 OPEN
Applies to region from 0x4010b0 to 0x4010b0 (.annobin_lto.unlikely)
GA$<tool>runnin[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA$<tool>annobi[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA$<tool>plugin[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA*GOW:0x000000029055c 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<stack prot>[...] 0x00000000 OPEN
Applies to region from 0x4010b0
GA+stack_clash:true 0x00000000 OPEN
Applies to region from 0x4010b0
GA*cf_protection:0x008 0x00000000 OPEN
Applies to region from 0x4010b0
GA*FORTIFY:0x0000000fe 0x00000000 OPEN
Applies to region from 0x4010b0
GA+GLIBCXX_ASSERTION: 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<PIC>PIE 0x00000000 OPEN
Applies to region from 0x4010b0
GA!<short enum>false 0x00000000 OPEN
Applies to region from 0x4010b0
GA!omit_frame_pointe: 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<ABI>0x000008000012 0x00000000 OPEN
Applies to region from 0x4010b0
GA*<ABI>0x000008000012 0x00000010 func
Applies to region from 0x4010b0 to 0x401176 (main)
GA!stack_realign:[...] 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA*<stack prot>[...] 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA+stack_clash:true 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA*cf_protection:0x008 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA!omit_frame_pointe: 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA*<PIC>PIE 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA*GOW:0x000000029055c 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA!<short enum>false 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA*FORTIFY:0x0000000fe 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA+GLIBCXX_ASSERTION: 0x00000000 func
Applies to region from 0x4010b0 to 0x401176
GA$<version>3g1108 0x00000010 OPEN
Applies to region from 0x401176 to 0x401176 (.annobin_lto.hot)
GA$<tool>runnin[...] 0x00000000 OPEN
Applies to region from 0x401176
GA$<tool>annobi[...] 0x00000000 OPEN
Applies to region from 0x401176
GA$<tool>plugin[...] 0x00000000 OPEN
Applies to region from 0x401176
GA*GOW:0x000000029055c 0x00000000 OPEN
Applies to region from 0x401176
GA*<stack prot>[...] 0x00000000 OPEN
Applies to region from 0x401176
GA+stack_clash:true 0x00000000 OPEN
Applies to region from 0x401176
GA*cf_protection:0x008 0x00000000 OPEN
Applies to region from 0x401176
GA*FORTIFY:0x0000000fe 0x00000000 OPEN
Applies to region from 0x401176
GA+GLIBCXX_ASSERTION: 0x00000000 OPEN
Applies to region from 0x401176
GA*<PIC>PIE 0x00000000 OPEN
Applies to region from 0x401176
GA!<short enum>false 0x00000000 OPEN
Applies to region from 0x401176
GA!omit_frame_pointe: 0x00000000 OPEN
Applies to region from 0x401176
GA*<ABI>0x000008000012 0x00000000 OPEN
Applies to region from 0x401176
GA$<version>3g1108 0x00000010 OPEN
Applies to region from 0x401266 to 0x401266 (.annobin_lto)
GA$<tool>runnin[...] 0x00000000 OPEN
Applies to region from 0x401266
GA$<tool>annobi[...] 0x00000000 OPEN
Applies to region from 0x401266
GA$<tool>plugin[...] 0x00000000 OPEN
Applies to region from 0x401266
GA*GOW:0x000000029055c 0x00000000 OPEN
Applies to region from 0x401266
GA*<stack prot>[...] 0x00000000 OPEN
Applies to region from 0x401266
GA+stack_clash:true 0x00000000 OPEN
Applies to region from 0x401266
GA*cf_protection:0x008 0x00000000 OPEN
Applies to region from 0x401266
GA*FORTIFY:0x0000000fe 0x00000000 OPEN
Applies to region from 0x401266
GA+GLIBCXX_ASSERTION: 0x00000000 OPEN
Applies to region from 0x401266
GA*<PIC>PIE 0x00000000 OPEN
Applies to region from 0x401266
GA!<short enum>false 0x00000000 OPEN
Applies to region from 0x401266
GA!omit_frame_pointe: 0x00000000 OPEN
Applies to region from 0x401266
GA*<ABI>0x000008000012 0x00000000 OPEN
Applies to region from 0x401266
GA*<ABI>0x000008000012 0x00000010 func
Applies to region from 0x401270 to 0x40133d (_ZL17build_id_callbackP12dl_phdr_infomPv)
GA!stack_realign:[...] 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*<stack prot>[...] 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA+stack_clash:true 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*cf_protection:0x008 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA!omit_frame_pointe: 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*<PIC>PIE 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*GOW:0x000000029055c 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA!<short enum>false 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*FORTIFY:0x0000000fe 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA+GLIBCXX_ASSERTION: 0x00000000 func
Applies to region from 0x401270 to 0x40133d
GA*<ABI>0x000008000012 0x00000010 func
Applies to region from 0x4010b0 to 0x4010b0 (main)
GA!stack_realign:[...] 0x00000000 func
Applies to region from 0x4010b0
GA*<stack prot>[...] 0x00000000 func
Applies to region from 0x4010b0
GA+stack_clash:true 0x00000000 func
Applies to region from 0x4010b0
GA*cf_protection:0x008 0x00000000 func
Applies to region from 0x4010b0
GA!omit_frame_pointe: 0x00000000 func
Applies to region from 0x4010b0
GA*<PIC>PIE 0x00000000 func
Applies to region from 0x4010b0
GA*GOW:0x000000029055c 0x00000000 func
Applies to region from 0x4010b0
GA!<short enum>false 0x00000000 func
Applies to region from 0x4010b0
GA*FORTIFY:0x0000000fe 0x00000000 func
Applies to region from 0x4010b0
GA+GLIBCXX_ASSERTION: 0x00000000 func
Applies to region from 0x4010b0

CMake Error at /opt/src/compilados/mysql-8.4.4/mysys/verify_build_id.cmake:41 (MESSAGE):
Bad build id


make[2]: *** [mysys/CMakeFiles/build_id_test.dir/build.make:115: runtime_output_directory/build_id_test] Error 1
make[2]: *** Se borra el archivo 'runtime_output_directory/build_id_test'
make[1]: *** [CMakeFiles/Makefile2:14809: mysys/CMakeFiles/build_id_test.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
===============================================================================================>8

Any idea?

Thanks in advance for your support!

Jose

Options: ReplyQuote


Subject
Written By
Posted
Re: CMake Error at /usr/local/src/mysql-8.4.2/mysys/verify_build_id.cmake:4 1 (MESSAGE)
March 03, 2025 08:13AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.