Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

crossdev för cris fails

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


joakim.tjernlund at transmode

Dec 22, 2010, 5:06 AM

Post #1 of 3 (673 views)
Permalink
crossdev för cris fails

tries to build a cris cross toolchain:
crossdev -t crisv32-linux-gnu or
crossdev -t cris-linux-gnu

and got
* Log: /var/log/portage/cross-crisv32-linux-gnu-linux-headers-quick.log
* Emerging cross-linux-headers-quick ...

* linux-headers failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-crisv32-linux-gnu-info.log
* /var/log/portage/cross-crisv32-linux-gnu-linux-headers-quick.log

cross-crisv32-linux-gnu-linux-headers-quick.log:
....

>>> Install linux-headers-2.6.36.1 into /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/image/ category cross-crisv32-linux-gnu
make -j3 -s headers_install INSTALL_HDR_PATH=/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/image///usr/crisv32-linux-gnu/usr/include/.. ARCH=cris CROSS_COMPILE=i686-pc-linux-gnu-
/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/scripts/Makefile.headersinst:14: /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild: No such file or directory
make[2]: *** No rule to make target `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild'. Stop.
/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/scripts/Makefile.headersinst:14: /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v32/Kbuild: No such file or directory
make[2]: *** No rule to make target `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gentoo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v32/Kbuild'. Stop.
make[1]: *** [arch-v10] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch-v32] Error 2
make: *** [headers_install] Error 2

Any ideas?
Is cris supposed to work with crossdev?

Jocke


joakim.tjernlund at transmode

Dec 22, 2010, 7:28 AM

Post #2 of 3 (641 views)
Permalink
Re: crossdev för cris fails [In reply to]

Mike Frysinger <vapier [at] gentoo> wrote on 2010/12/22 16:59:08:
>
> On Wednesday, December 22, 2010 08:06:06 Joakim Tjernlund wrote:
> > make -j3 -s headers_install
> > INSTALL_HDR_PATH=/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.
> > 6.36.1/image///usr/crisv32-linux-gnu/usr/include/.. ARCH=cris
> > CROSS_COMPILE=i686-pc-linux-gnu-
> > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
> > o-headers-base-2.6.36.1/scripts/Makefile.headersinst:14:
> > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
> > o-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild: No such file
> > or directory make[2]: *** No rule to make target
> > `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gent
> > oo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild'. Stop.
>
> complain to the upstream cris maintainers. take the linux-2.6.36 tree and run
> `make ARCH=cris headers_install` and you'll see the same error.

Right, meanwhile I just found out that the below patch fixes it
linux-cris-kernel [at] axis added to this email.

Axis I then get this glibc-2.12.1 error:
make[2]: *** No rule to make target `/var/tmp/portage/cross-cris-linux-gnu/glibc-2.12.1-r3/image//usr/cris-linux-gnu/usr/include/bits/semaphore.h', needed by `install-headers-nosubdir'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [nptl/install-headers] Error 2
make: *** [install-headers] Error 2
emake failed

Why is semabphore.h missing? Should I use some other glibc version?

--- arch/cris/include/asm/Kbuild.org 2010-12-22 14:14:28.000000000 +0100
+++ arch/cris/include/asm/Kbuild 2010-12-22 15:59:54.000000000 +0100
@@ -1,7 +1,7 @@
include include/asm-generic/Kbuild.asm

-header-y += arch-v10/
-header-y += arch-v32/
+header-y += ../arch-v10/arch/
+header-y += ../arch-v32/arch/

header-y += ethernet.h
header-y += etraxgpio.h


vapier at gentoo

Dec 22, 2010, 7:59 AM

Post #3 of 3 (640 views)
Permalink
Re: crossdev för cris fails [In reply to]

On Wednesday, December 22, 2010 08:06:06 Joakim Tjernlund wrote:
> make -j3 -s headers_install
> INSTALL_HDR_PATH=/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.
> 6.36.1/image///usr/crisv32-linux-gnu/usr/include/.. ARCH=cris
> CROSS_COMPILE=i686-pc-linux-gnu-
> /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
> o-headers-base-2.6.36.1/scripts/Makefile.headersinst:14:
> /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
> o-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild: No such file
> or directory make[2]: *** No rule to make target
> `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gent
> oo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild'. Stop.

complain to the upstream cris maintainers. take the linux-2.6.36 tree and run
`make ARCH=cris headers_install` and you'll see the same error.
-mike
Attachments: signature.asc (0.82 KB)

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.