Comments (20)
Confirmed. Everyone, thanks for the help. The "How to build" section on the main facebook/openbmc page should be updated I think.
from openbmc.
Building on a Ubuntu 14.04.5 machine and following the howto build section of this repo.
from openbmc.
Hi @AdrianB-Flex, we can help, but I need more details about the error :)
from openbmc.
Here's the build that continually tries to build wedge100-image
from the helium
branch: https://jenkins.osquery.io/view/Other/job/openbmcHeliumBuildWedge100/
It runs:
export BOARD=wedge100
export OPENBMC=$PWD
sudo yum install -y perl-Thread-Queue gcc-c++ patch wget diffstat chrpath texinfo bzip2
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/poky
cd poky
git clone -b krogoth --depth 1 https://github.com/openembedded/meta-openembedded.git
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/meta-security
ln -s $OPENBMC meta-openbmc
export TEMPLATECONF=meta-openbmc/meta-facebook/meta-${BOARD}/conf
source ./oe-init-build-env
bitbake ${BOARD}-image
from openbmc.
Sorry for the delay Teddy, I was on PTO latter half of last week. I am using fido not krogoth, that might be an issue. I'll give this a try.
from openbmc.
Not seeing the meta-openbmc/meta-facebook folder. Is there a git clone missing? Before I had to do this:
git clone https://github.com/facebook/openbmc.git meta-openbmc
from openbmc.
Here's the meta-facebook
folder: https://github.com/facebook/openbmc/tree/helium/meta-facebook
Would you mind starting from a clean working state and documenting the steps you're taking, I think that will help me debug too :)
from openbmc.
@AdrianB-Flex if you are moving to krogoth from fido, you might also want to switch openbmc from the master to the helium branch.
git clone -b helium https://github.com/facebook/openbmc.git meta-openbmc
instead of
git clone https://github.com/facebook/openbmc.git meta-openbmc
from openbmc.
Ahh, thanks Amit.
from openbmc.
From a clean tree Ubuntu 14.04.5:
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath libsdl1.2-dev xterm
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/poky bolt-dev
cd bolt-dev
git clone -b krogoth --depth 1 https://github.com/openembedded/meta-openembedded.git
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/meta-security
git clone -b helium https://github.com/facebook/openbmc.git meta-openbmc
export BOARD=wedge100
export TEMPLATECONF=meta-openbmc/meta-facebook/meta-${BOARD}/conf
source ./oe-init-build-env
bitbake ${BOARD}-image
from openbmc.
And here's the error:
from openbmc.
@AdrianB-Flex The default gcc from poky krogoth branch is 5.x. However, your log shows as 4.9.2. Could u pls check why?
from openbmc.
That's puzzling. When I do a gcc --version I get 6.2.0. This got pulled in from the apt-get install gcc-multilib from the yocto user guide. Not sure why 4.9.2 is getting selected.
from openbmc.
I'll try to reproduce on a Ubuntu 14.04 system tonight.
from openbmc.
When I cd to u-boot path and
'make fbwedge100_defconfig' && 'make'
also get this same problem:
How to fix the Assembler Error?
from openbmc.
Right, so this is a compiler issue. Is there the older GCC in your path?
On a new install of Ubuntu 14.04: https://jenkins.osquery.io/view/Other/job/openbmcUbuntuHeliumBuildWedge100/8/console
Using the build script from above.
from openbmc.
Thanks a lot , at first I use the poky fido branch,the gcc version is 4.9 .But now I use the krogoth branch, all going well,it can build success.
from openbmc.
Frank, what distro/version did you use finally?
from openbmc.
Ubuntu-14.04.1-desktop-i386
Be honest, I did not find the real reason why I can build success finally, but , These are the steps I use to get things done:
sudo apt-get insatll gcc-arm-linux-gnueabi
sudo apt-get insatll g++-arm-linux-gnueabi
sudo apt-get install sed wget subversion git-core coreutils unzip gcc-multilib \
texi2html texinfo libsdl1.2-dev docbook-utils fop gawk python-pysqlite2
diffstat make gcc build-essential xsltproc g++ desktop-file-utils
chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool
xterm libxml-parser-perl vim-common xz-utils cvs tofrodos
libstring-crc32-perl ubuntu-minimal ubuntu-standard patch
libbonobo2-common libncurses5-dev \
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/poky
cd poky
git clone -b krogoth --depth 1 https://github.com/openembedded/meta-openembedded.git
git clone -b krogoth --depth 1 https://git.yoctoproject.org/git/meta-security
git clone -b helium https://github.com/facebook/openbmc.git meta-openbmc
source oe-init-build-env
bitbake -k wedge100-image
from openbmc.
Switching to krogoth and start a new build directory shall fix this issue, as gcc 5.x is used in Krogoth.
@AdrianB-Flex Could you confirm if this fixed your build issue?
from openbmc.
Related Issues (20)
- The return value of 'sscanf()' should be checked
- Removal of `yocto_repos.sh` breaks `sync_yocto.sh` script HOT 3
- Fetcher failure HOT 1
- Support aspeed 2600 HOT 3
- no limitation for "%s" while calling fscanf()
- Yocto Build time improvements? HOT 1
- Docs on ast2600 boot procedure HOT 3
- License Missing
- AST2600 Support HOT 2
- Eth0 fix missing for meta-fbtp build on Portwell Neptune Board HOT 1
- Unable to set hostname through DHCP HOT 1
- Redfish supportive HOT 1
- GitHub Actions Experiments HOT 1
- Is there any support for ast2600 HOT 1
- Flashy will break on AST2600 HOT 6
- flashy: Golang status (Note to self) HOT 2
- Fboss and compute platform HOT 1
- openbmc-init-build-env error HOT 1
- flash image HOT 2
- Redfish: Https authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbmc.