Just in case anyone else hits these issues building on Ubuntu12.04.
I was building the full image for the p1010rds, but the bugs will be common to other platforms:
1 - gcc 4.7 fails to build the cross compiler. This is a known gcc regression.
See GCC Bugzilla 51969 and apply the simple patch to gengtype.c
2 - The tcpdump library fails to configure. This can occurr if the host build system has a pcap
configuration file (/usr/bin/pcap-config). The configure stage of build parses out the library
directory from this file and attempts to use it for linking, which then fails a bitbake sanity check.
The simple fix for this is to temporarily rename this file, although the actual bug is in the auto configuration
This is using the 1.2 SDK with the 1.2.1 patch applied. I recorded what I did:
1 - Install 1.2 SDK
2 - Install 1.2 sources
3 - Apply 1.2.1 update patch
4 - Configure host
5 - Configure target
./fsl-setup-poky -m p1010rdb
6 - Build
The only unusual thing here is that I am on Ubuntu 12.10, which I guess is not an
officially supported host platform. The first problem is due to using the latest 4.7
compiler on the host, but I think the second is pretty generic, but probably won't
hit most folks if they havn't got this file on their host system.
Right I'm recalling this issue now, and this won't be supported until the next SDK is release (1.3 should be released soon if not already). In the meantime you could make a small chroot with an older Ubuntu or even use a VM with the former being the best option.