Skip to content
Snippets Groups Projects
  • Martin Jansa's avatar
    3a89e6d7
    cdrtools-native: fix build with gcc-14 · 3a89e6d7
    Martin Jansa authored
    Fixes:
    http://errors.yoctoproject.org/Errors/Details/770525/
    
    
    | checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no
    | configure: error: installation or configuration problem: C compiler cannot create executables.
    | RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory
    | make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1
    | make: *** Waiting for unfinished jobs....
    
    where config.log show it's caused by gcc-14:
    
    configure:1189: checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works
    configure:1211: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe  -D_GNU_SOURCE  conftest.c   1>&5
    configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int]
    configure: failed program was:
    
    main(){return(0);}
    
    (From OE-Core rev: 6fd1bc0620e6d6ce9b940eaeb68474f4d0b9369b)
    
    Signed-off-by: default avatarMartin Jansa <martin.jansa@gmail.com>
    Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
    (cherry picked from commit 094273bd7d1768e14fbdcd2f239bee14c630a625)
    Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
    3a89e6d7
    History
    cdrtools-native: fix build with gcc-14
    Martin Jansa authored
    Fixes:
    http://errors.yoctoproject.org/Errors/Details/770525/
    
    
    | checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no
    | configure: error: installation or configuration problem: C compiler cannot create executables.
    | RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory
    | make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1
    | make: *** Waiting for unfinished jobs....
    
    where config.log show it's caused by gcc-14:
    
    configure:1189: checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works
    configure:1211: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe  -D_GNU_SOURCE  conftest.c   1>&5
    configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int]
    configure: failed program was:
    
    main(){return(0);}
    
    (From OE-Core rev: 6fd1bc0620e6d6ce9b940eaeb68474f4d0b9369b)
    
    Signed-off-by: default avatarMartin Jansa <martin.jansa@gmail.com>
    Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
    (cherry picked from commit 094273bd7d1768e14fbdcd2f239bee14c630a625)
    Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.