Hi Adrian, > -----Original Message----- > From: Adrian Schröter [mailto:[email protected]] > Sent: Thursday, January 16, 2014 7:57 PM > To: Chanho Park > Cc: [email protected] > Subject: Re: [opensuse-arm] [AArch64] Build failure of cross-aarch64- > binutils > > On Donnerstag, 16. Januar 2014, 18:31:56 wrote Chanho Park: > > Hi Adrian, > > > > > -----Original Message----- > > > From: Adrian Schröter [mailto:[email protected]] > > > Sent: Thursday, January 16, 2014 6:11 PM > > > To: [email protected] > > > Cc: Chanho Park > > > Subject: Re: [opensuse-arm] [AArch64] Build failure of cross- > aarch64- > > > binutils > > > > > > 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 :) > > > > That would be great!! I have a question from your page: > > Install qemu-linux-aarch64 from openSUSE:Tools project in case you > want > > > > How can I install qemu-linux-aarch64? I'm using Ubuntu 13.10. > > Sorry, we do not provide packages for that distro. You have to download > the source and compile it your own for now. > > osc co openSUSE:Factory:ARM qemu-linux-aarch64
I've checkout it and build it using below command: osc build --alternative-project openSUSE:13.1 standard x86_64 I could find the rpm file from upper directory. I installed the package using alien command because the Ubuntu cannot Install the rpm package. After then, I built a package using below command. osc build --vm-type=kvm standard aarch64 Unfortunately, I've got below error: Building bzip2.spec for standard/aarch64 Getting buildinfo from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildinfo-standard-aarch64.xml Getting buildconfig from server and store to /opt/obs/devel:ARM:AArch64:Factory/bzip2/.osc/_buildconfig-standard-aarch64 Error: hostarch 'x86_64' cannot build 'aarch64'. IHMO, I should connect the installed qemu for osc build. Right? I think Most of the build configuration is stored in "/usr/lib/build" To change the 프-type to kvm and aarch64, which info should be modified? Thanks. Best Regards, Chanho Park -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
