Bug 659 - The gcc/g++ is not built in the poky-image-sdk-routerstationpro-.*
Summary: The gcc/g++ is not built in the poky-image-sdk-routerstationpro-.*
Status: CLOSED WORKSFORME
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: Routerstationpro mips
: High major
Target Milestone: 1.0 M4
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-01-17 23:33 UTC by Liang Wang
Modified: 2011-02-24 13:03 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liang Wang 2011-01-17 23:33:18 UTC
Testing Environment
===============================
Host: routerstationpro
Kernel: Linux routerstationpro 2.6.37-yocto-standard-00332-g2ebf057
Image location: http://autobuilder.pokylinux.org/nightly/20110114-1/machines/routerstationpro/mips/


Steps
===============================
1. Boot up the routerstationpro with sdk image
Boot script: 
RedBoot> load -v vlm-boards/19256/kernel
RedBoot> exec -c "console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/19256/rootfs ip=128.224.178.128:128.224.178.20:128.224.178.1:255.255.254.0::eth0:off board=UBNT-RSPRO"

2. Check gcc is built in 


Observed Result
===============================
root@routerstationpro:~# uname -a
Linux routerstationpro 2.6.37-yocto-standard-00332-g2ebf057 #1 Sat Jan 15 16:39:58 PST 2011 mips GNU/Linux
root@routerstationpro:~# 
root@routerstationpro:~# which gcc
/usr/bin/gcc
root@routerstationpro:~# ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 19 Jan 18  2011 /usr/bin/gcc -> mips-poky-linux-gcc
root@routerstationpro:~# ls -l /usr/bin/mips-poky-linux-*
-rwxr-xr-x 1 root root 42596 Jan 15  2011 /usr/bin/mips-poky-linux-nm
-rwxr-xr-x 1 root root 62748 Jan 15  2011 /usr/bin/mips-poky-linux-ranlib
-rwxr-xr-x 1 root root 31104 Jan 15  2011 /usr/bin/mips-poky-linux-size
-rwxr-xr-x 1 root root 29048 Jan 15  2011 /usr/bin/mips-poky-linux-strings
root@routerstationpro:~# 

More Info
===============================
There isn't have g++ and make built in.
Comment 1 Nitin Kamble 2011-02-24 08:44:46 UTC
verified this issue does not happen with qemumips poky-image-sato-sdk image. It has working gcc & g++ commands.

Nitin
Comment 2 Nitin Kamble 2011-02-24 12:48:02 UTC
Created an poky-image-sato-sdk image for routerstationpro machine.
I can see the gcc & g++ binaries in the root file system.

So I can not reproduce the issue. AFAIS the issue is not there anymore. So please verify it one more time.

$ pwd
/disk0/pokybuild/build0/tmp/work/routerstationpro-poky-linux/poky-image-sato-sdk-1.0-r0/rootfs
$ find . | grep gcc | grep bin
./usr/bin/mips-poky-linux-gccbug
./usr/bin/mips-poky-linux-gcc
./usr/bin/gcc
$ find . | grep g++ | grep bin
./usr/bin/mips-poky-linux-g++
./usr/bin/g++
Comment 3 Nitin Kamble 2011-02-24 12:50:02 UTC
I Don't see the issue any more. Please verify it, and reopen the bug if the issue if needed.
Comment 4 Nitin Kamble 2011-02-24 13:03:30 UTC
closing it