This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error during 'Installing C library'


I'm stumped on this error:

[INFO ]  =================================================================
[INFO ]  Installing C library
[ERROR]    make[3]: *** [nptl/subdir_lib] Error 2
[ERROR]    make[2]: *** [all] Error 2
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@441]
[ERROR]  >>        called from:
do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from:
do_libc[scripts/build/libc/glibc-eglibc.sh-common@65]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@609]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'crosstool-ng/docs/B - Known issues.txt'
[ERROR]

Here is what I know:

The 'Known issue'
>  On 64-bit build systems, the glibc (possibly eglibc too) build fails for
>  64-bit targets, because it can not find libgcc.

may be relevant but I cannot tell for certain as there are similar
issues mentioned in the mailing list archives. If it IS the problem,
how can I make ct_ng produce shared companion libraries?

I commented out CT_WANTS_STATIC_LINK=y to see if that was the correct
option but still the error.

I get the error with both glibc and eglibc.

Below is the likely relevant part of build.log:

[ALL  ]    echo '' >
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/nptl/stamp.oST
[ALL  ]    make[4]: *** No rule to make target
`/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/nptl/pthread_spin_trylock.o',
needed by `lib-noranlib'.  Stop.
[ALL  ]    make[4]: *** Waiting for unfinished jobs....
[ALL  ]    sed -n
's/^.*@@@name@@@([^@]*)@@@value@@@[^0-9Xxa-fA-F-]*([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*).*@@@end@@@.*$/#define
1 2/p'
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.hT3
> /media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.hT
[ALL  ]    mv -f
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/nptl/stamp.oST
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/nptl/stamp.oS
[ALL  ]    rm -f
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.hT3
[ALL  ]    sed -e 's@
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/@
$(common-objpfx)@g' -e
's@^/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/@$(common-objpfx)@g'
-e 's@  *../([^         ]*)@ $(..)1@g' -e 's@^../([^    ]*)@$(..)1@g'
     /media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h.dT
> /media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h.dT2
[ALL  ]    rm -f
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h.dT
[ALL  ]    mv -f
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h.dT2
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h.d
[ALL  ]    mv -f
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.hT
/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final/structsem.h
[ALL  ]    make[4]: Leaving directory
`/media/Linux/bruce/proteus/deps/xtools/.build/src/eglibc-2_16/nptl'
[ERROR]    make[3]: *** [nptl/subdir_lib] Error 2
[ALL  ]    make[3]: Leaving directory
`/media/Linux/bruce/proteus/deps/xtools/.build/src/eglibc-2_16'
[ERROR]    make[2]: *** [all] Error 2
[ALL  ]    make[2]: Leaving directory
`/media/Linux/bruce/proteus/deps/xtools/.build/i386-unknown-linux-gnu/build/build-libc-final'
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library'
[ERROR]  >>        called in step '(top-level)'

--Bruce

--
Give me immortality or give me death!

Attachment: .config
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]