Skip to contentSkip to conversation

building OE for an amd64 machine

DISCUSSION Robert Schuster 2 participants 3 messages Jan 29, 2009

lore
Share & tools
lore
#0 lore raw

Hi,
I want to build packages with OE that can run on my AMD64 system. As such I started a machine configuration and a CPU tune file.

At first everything looks good but when glibc-initial is about to compiled it wants to include some header file from the kernel headers (asm-x64-64/socket.h) and cannot find it.

The strange thing is that linux-libc-headers is not installed into any of the staging directories.

Well, it is basically my first shot at a new machine configuration. :)

I created a user branch for the amd64 support and committed those two patches to it:

http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=20a70182e0ab8b6fad5381ea797123c6d6478dc4
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=6441c620a7e13d6a6f1be4fe54bf1fb7fc3e6dc5
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=0aeb635f90e332cfb65725147dd1f78a30b9f079

I am grateful about any help to get this to work.

Regards
Robert

#1 lore raw

Hi,

Quoted 4 lines · Robert Schuster

The strange thing is that linux-libc-headers is not installed into any of the staging directories.

Well, it is basically my first shot at a new machine configuration. :)

Forgot to tell. I am using the angstrom-2008.1 distributiom.

Regards
Robert

#2 lore raw
In reply to Robert Schuster
Quoted 13 lines · Robert Schuster

Hi,
I want to build packages with OE that can run on my AMD64 system. As such I started a machine configuration and a CPU tune file.

At first everything looks good but when glibc-initial is about to compiled it wants to include some header file from the kernel headers (asm-x64-64/socket.h) and cannot find it.

The strange thing is that linux-libc-headers is not installed into any of the staging directories.

Well, it is basically my first shot at a new machine configuration. :)

Quoted 8 lines

I created a user branch for the amd64 support and committed those two patches to it:

http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=20a70182e0ab8b6fad5381ea797123c6d6478dc4
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=6441c620a7e13d6a6f1be4fe54bf1fb7fc3e6dc5
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=robertschuster/amd64-target&id=0aeb635f90e332cfb65725147dd1f78a30b9f079

I am grateful about any help to get this to work.

+PACKAGE_EXTRA_ARCH += "amd64"

That's missing an 'S' at the end

+IMAGE_FSTYPES ?= "ext2.gz"

That should the '+='

regards,

Koen