glibc - Compile error (generic x86_64)

  • Hi. Sorry for my english ))

    I try compile standart generic x86_64 LibreELEC (git master) on Ubuntu 18. Compile process stop on 80..81 step from 331 - glibc.


    >>> glibc:target seq 81 >>>

    [080/331] [FAIL] install glibc:target

    The following log for this failure is available:

    /media/data/src/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/.threads/logs/81.log

    I search log (81.log) but dont understand what wrong.

    Full log file - 81.log / Облако Mail.ru

  • I'm no developer, but to me the error happens at line 8 and you got a hint of it at line 10

    => "See `config.log' for more details"

    I dont can find this log file.

    PS after update make to v 4.3 build process continue, but now fails when build SAMBA4:

    more log on PASTEBIN

    I try build samba 4.12 and 4.13 directly from source but have same error.

  • no way to trace what's going on ?

    - make --trace (from man make)

    - for kernel compile there is make V=1 (=> make help [being in the kernel tree])

    - searching via google with search string "collect2: error: ld returned 1 exit status" or the string where the first error occured

    ... ?

  • In Samba4 source dir samba-4.12.7/source3/modules/nfs41acl.x when processing ld and script - wscript_build

    in scriplt_build:

    I directly try:

    #rpcgen -h nfs41acl.x > nfs41acl.h

    /usr/local/bin/ld:nfs41acl.x: file format not recognized; treating as linker script/usr/local/bin/ld:nfs41acl.x:1: syntax error

    collect2: error: ld returned 1 exit statusrpcgen: препроцессор Си завершился не успешно с выходным кодом 1

    nfs41ack.x:

    I thnink trouble in ld / rpcgen.

    Use:

    rpcgen (Ubuntu GLIBC 2.27-3ubuntu1.2) 2.27

    GNU ld (GNU Binutils) 2.35

  • run:

    #make --trace -V=9