On Donnerstag, 16. Januar 2014, 17:52:02 wrote Chanho Park: > Hi Adrian, > > > -----Original Message----- > > From: Adrian Schröter [mailto:[email protected]] > > Sent: Thursday, January 16, 2014 5:17 PM > > To: [email protected] > > Cc: Chanho Park > > Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- > > binutils > > > > On Donnerstag, 16. Januar 2014, 11:45:24 wrote Chanho Park: > > > Hi, > > > > > > I'm newbie of obs. > > > I want to build aarch64 toolchain from scratch. To build the gcc48, > > > it needed a cross-aarch64-binutils package. > > > I didn't find the package from snapshot directory. > > > So, I tried to build the package using local build. > > > > > > osc co devel:ARM:AArch64:Factory binutils > > > cd devel\:ARM\:AArch64\:Factory/binutils/ > > > osc build -b standard x86_64 cross-aarch64-binutils.spec > > > > > > I found below error: > > > > > > Building cross-aarch64-binutils.spec for standard/x86_64 > > > Getting buildinfo from server and store to > > > /opt/obs/devel:ARM:AArch64:Factory/binutils/.osc/_buildinfo-standard- > > x86_64. > > > xml > > > ERROR: Either wrong repo/arch as parameter or a parse error of > > > .spec/.dsc/.kiwi file due to syntax error > > > > > > Please let me know what is the problem. > > > Thanks. > > > > There is no x86_64 architecture defined in that repository. > > > > It could be added, but you can also build this package source > > with another project configuration, if you use > > > > osc build --alternative-project openSUSE:13.1 standard x86_64 > > > > for example. > > Thanks. It would really helpful for me. > > > > > However, are you aware that we do not build via cross tool chain, > > but "natively" using the qemu-linux-aarch64 emulator? > > Yes. I already know the foundation model of ARM can be used the emulator.[1] > > [1] : https://en.opensuse.org/Portal:ARM/AArch64
yes, we have used that one as well, but we do use qemu now, because it speeds up the build a lot. So, you can build for aarch64 on your x86_64 workstation by calling osc build standard aarch64 all what you need is a proper qemu package installed. The wiki page was a bit outdated, I added a section regarding the qemu approach now. Some feedback regarding that one would be great :) adrian -- Adrian Schroeter email: [email protected] SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
