Re: Build u-boot using Linaro toolchain

2015-04-21 Thread Jim Wilson
On Tue, Apr 21, 2015 at 12:35 PM, Joel (Xi Zhou) Zhou joel.z...@broadcom.com wrote: The u-boot built with gcc-linaro-arm-none-eabi-4.9-2014.09_linux can boot on the development board. This toolchain was pre-built toolchain from Linaro, built with crosstool-NG. The version is gcc version 4.9.2

Re: writing a new Machine Description file (e.g cortex-a57.md) in gcc

2015-05-07 Thread Jim Wilson
On Thu, May 7, 2015 at 4:24 AM, Virendra Kumar Pathak kumarvir.pat...@gmail.com wrote: I am new to gcc development. I am trying to write a new md file describing pipeline information for a processor. Please suggest some good reference document for understanding machine description file. There

Re: writing a new Machine Description file (e.g cortex-a57.md) in gcc

2015-05-07 Thread Jim Wilson
On Thu, May 7, 2015 at 10:56 AM, Jim Wilson jim.wil...@linaro.org wrote: There are various genX programs that read the md file and generate a insn-X.c file to perform actions based on info in the md file. For instance genrecog creates the insn-recog.c file, which is for recognizing RTL

Re: Issue building busybox using aarch64-linux-gnu 2014.11

2015-04-15 Thread Jim Wilson
On Wed, Apr 15, 2015 at 9:51 AM, Kevin Petit kevin.pe...@arm.com wrote: It seems none of the built-in library search paths (gcc –print-search-dirs) allow to find crt[1i].o. They seem to be expected in a multiarch location but aren’t (libc/usr/lib64). We’re working around this with a symlink.

Re: -O2 faster than -O3

2015-04-02 Thread Jim Wilson
On Thu, Apr 2, 2015 at 3:19 AM, Edward Nevill edward.nev...@linaro.org wrote: Looking at the disassembly I see it is using FP registers to hold integer values. The following is a small extract. -O3 turns on -finline-functions, which causes a lot of code expansion. That, combined with the fact

Re: new gas feature: section name substitution sequence

2015-06-04 Thread Jim Wilson
On Wed, Jun 3, 2015 at 4:15 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: I created a patch on top of upstream binutils for a feature I need which should be universally useful as well. Now I have 3 questions for you: 1) Does it look sane enough? You added the option docs into the .section

Re: new gas feature: section name substitution sequence

2015-06-08 Thread Jim Wilson
On Mon, Jun 8, 2015 at 11:36 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: Unless I'm missing something obvious, I can't find any section where all options are documented together. There is the Invoking section but it contains very few options and only the most generic ones. All the

Re: question on bfd - arch mach

2015-05-27 Thread Jim Wilson
On Wed, May 27, 2015 at 1:21 AM, Virendra Kumar Pathak kumarvir.pat...@gmail.com wrote: 1. In the struct bfd_arch_info {...} (in bfd/bfd-in2.h) there are two fields 'enum bfd_architecture arch' and 'unsigned long mach'. I went trough the binutils porting guide (by mr.swami.re...@nsc.com) which

Re: abe - compiling cross aarch64 toolchain using local directory

2015-08-19 Thread Jim Wilson
On Wed, Aug 19, 2015 at 8:32 AM, Virendra Kumar Pathak kumarvir.pat...@gmail.com wrote: ../abe/abe.sh --target aarch64-linux-gnu --build all --release 20150819 --tarbin gcc=file:///home/vpathak/arm/toolchain/build/snapshots/gcc-2015.11-5.tar.bz2 But I get following error: ERROR (#146):

Re: ABE - bug in copy_gcc_libs_to_sysroot() while building native toolchain for aarch64

2015-07-27 Thread Jim Wilson
On Sun, Jul 26, 2015 at 11:36 PM, Virendra Kumar Pathak kumarvir.pat...@gmail.com wrote: In copy_gcc_libs_to_sysroot() - which copy libgcc.a to sysroot, current implementation try to find the absolute path of libgcc.a as below : libgcc=`${local_builds}/destdir/${host}/bin/${target}-gcc

Re: binutils - question on decoding decision tree for aarch64

2015-07-25 Thread Jim Wilson
On Sat, Jul 25, 2015 at 6:19 AM, Virendra Kumar Pathak kumarvir.pat...@gmail.com wrote: 1. Please help me in knowing what I am doing wrong here ? What else I should do to add a new instruction in binutils ? I don't know offhand, but see below. 2. I also saw some printf in

Re: abe: cross native toolchain compilation for aarch64-linux-gnu

2015-07-15 Thread Jim Wilson
On Tue, Jul 14, 2015 at 8:10 PM, strongq stro...@codeaurora.org wrote: Thanks Wilson for your reply. I was very busy and finally got some time on this. First, I followed your suggestion, built a 'Hello world' program with i686-w64-mingw32-gcc. The generated executable runs well on Windows

Re: abe: cross native toolchain compilation for aarch64-linux-gnu

2015-07-16 Thread Jim Wilson
On Thu, Jul 16, 2015 at 12:40 PM, strongq stro...@codeaurora.org wrote: The config.log is under _build/builds/i686-w64-mingw32/aarch64-none-elf/binutils-gdb.git~linaro_binutils-2_24-branch-binutils/libiberty My understanding that it is for building the binutils. Yes. So I was looking at the

Re: abe: cross native toolchain compilation for aarch64-linux-gnu

2015-07-18 Thread Jim Wilson
On Fri, Jul 17, 2015 at 3:47 PM, strongq stro...@codeaurora.org wrote: Now I’m running into new problem. I’m trying to enable “--with-python option” for building gdb. For the native Linux version, I just need to install Python-dev package. But for cross compiling the windows version, I don’t

Re: [activity] 6 - 10 july 2015

2015-07-13 Thread Jim Wilson
On Mon, Jul 13, 2015 at 12:17 AM, Prathamesh Kulkarni prathamesh.kulka...@linaro.org wrote: - for -O2 temps introduced by peephole2 due to define_peephole2 pattern in thumb2.md:1540 http://pastebin.com/3rEF8Te4 So this intentionally transforms rtx from zeroextractsi_compare0_scratch to rtx

Re: Runtime inlining

2015-11-09 Thread Jim Wilson
On Fri, Nov 6, 2015 at 6:48 AM, Zoltan Kiss wrote: > I've checked link time optimization (-flto), but it only helps with static > linking. Is there any way to keep the ODP application and platform > implementation binaries in separate files while having the performance >

Re: [lng-odp] Runtime inlining

2015-11-09 Thread Jim Wilson
On Mon, Nov 9, 2015 at 2:39 PM, Bill Fischofer wrote: > The IO Visor project appears to be doing something like this with LLVM and > JIT constructs to dynamically insert code into the kernel in a > platform-independent manner. Perhaps we can leverage that technology?

Re: GCC performance questions

2015-11-04 Thread Jim Wilson
On Wed, Nov 4, 2015 at 7:07 AM, Gunnar von Boehn wrote: > Looking at the created code of GCC on ARMv8, we noticed some areas where > there is room for performance improvements. > I assume that these items might already be noticed by you guys. There is a known problem

Re: Question about the Linaro toolchain version

2015-10-19 Thread Jim Wilson
On Mon, Oct 19, 2015 at 7:23 PM, Luo Zhenhua wrote: > The default gcc version of Yocto 2.0(Jethro) is 5.2.0, the gcc version in > meta-linaro is gcc-4.9.4, may I know if gcc-linaro-4.9.4 will be used for > Yocto 2.0 release? when will the linaro gcc be upgraded to

Re: abe: cross native toolchain compilation for aarch64-linux-gnu

2015-07-10 Thread Jim Wilson
On Fri, Jul 10, 2015 at 8:49 AM, strongq stro...@codeaurora.org wrote: First build this: ../abe/abe.sh --target aarch64-none-elf –build all Then do 2nd round build: ../abe/abe.sh –host i686-w64-mingw32 --target aarch64-none-elf –build all I just tried this on an Ubuntu 14.04 LTS system using

Re: help: cortex-a7 u-boot hang at pcie with gcc-linaro-4.9

2015-09-02 Thread Jim Wilson
On Tue, Sep 1, 2015 at 12:48 AM, Liu Ting wrote: > When trying to use gcc-linaro-4.9 to build u-boot for ls1021atwr (ARM > Cortex-A7 MPCore compliant with ARMv7-A architecture), we face issue. U-boot > hangs at PCI-E. > > After tracing the code, the issue is located at the

Re: Building for armv6/ARM1136J-S using ABE

2015-09-11 Thread Jim Wilson
On Fri, Sep 11, 2015 at 10:54 AM, Bill Davis wrote: > I’ve tried probably a dozen different ABE build command lines with various > combinations of cpu/arch/tune on the latest tree and on the 2014.09 release > and am unable to build for the armv6/1136J-S. FYI there is a wiki

Re: why ld.so in arm-linux-gnueabihf- toolchains search so many paths ?

2015-12-03 Thread Jim Wilson
On Wed, Dec 2, 2015 at 12:07 AM, Barry Song <21cn...@gmail.com> wrote: > i am wondering whether ld.so will check the capbility of ARM to decide > which version should be used. I believe the way this works is that the kernel uses the auxiliary vector to pass an AT_HWCAP entry to programs.

Re: Bug: Linaro ABE abe.sh doesn't allow timeout > 10 seconds

2015-12-03 Thread Jim Wilson
On Wed, Dec 2, 2015 at 1:32 PM, Christopher Roberts wrote: > abe.sh in the ABE framework accepts a parameter to set the wget timeout when > it fetches snapshots (default 10s); however that parameter has an upper > threshold of 10 seconds (condition at line 996 only sets

Re: Linaro-binutils release git tags

2015-12-17 Thread Jim Wilson
On Wed, Dec 16, 2015 at 9:12 PM, Virendra Kumar Pathak wrote: > As per release notes, linaro_binutils-2_25-2015_01-2_release should be > present at http://git.linaro.org/toolchain/binutils-gdb.git. > But I am not able to see any "linaro_binutils" tags on >

Re: gcc-linaro-5.1 vs gcc-linaro-4.8

2016-01-05 Thread Jim Wilson
On Tue, Jan 5, 2016 at 4:19 PM, Xiaofeng Ren wrote: > Hello Jim, > Appreciate for your comments. > I will try to manually apply that patch on my side and try it. > BTW, may I know which released Linaro gcc version include that patch? Maybe > I can download it and try it

Re: gcc-linaro-5.1 vs gcc-linaro-4.8

2016-01-05 Thread Jim Wilson
On Tue, Jan 5, 2016 at 6:53 PM, Rob Savoye wrote: > Is it in the 2015.11-1 release ? I found gcc-linaro-5.2-2015.11-1-rc1.tar.xz on the snapshot site. I don't see it in this release either. This seems to have identical gcc sources to the 2015-11 release, other than a

Re: gcc-linaro-5.1 vs gcc-linaro-4.8

2016-01-05 Thread Jim Wilson
On Tue, Jan 5, 2016 at 5:52 AM, Xiaofeng Ren wrote: >> Gcc-5.1: >> 40110c: 3dc00c6cldr q12, [x3,#48] >> Gcc-4.8: >> 40135c: 4cdf78afld1 {v15.4s}, [x5], #16 The ld1 and ldr instructions are effectively equivalent, they are both

Re: Linaro GCC vs Valgrind

2016-06-09 Thread Jim Wilson
On Thu, Jun 9, 2016 at 2:22 PM, William Mills wrote: > When the optimizer is turned on valgrind complains about writes beyond > the current stack pointer. With the optimizer off, the problem report > goes away. > 000102f8 : >102f8: e351cmp r0, #1 >

Re: toolchain fetch issues

2016-05-25 Thread Jim Wilson
On Wed, May 25, 2016 at 8:09 AM, Gujulan Elango, Hari Prasath (H.) wrote: > I enabled the -v option of wget and I am able to see the download starts and > fails randomly after progressing to some extent i.e. 10% or 27%. The > connection is reset by peer and wget exits. I

Re: Error: non-constant expression in ".if" statement

2016-06-14 Thread Jim Wilson
On Tue, Jun 14, 2016 at 11:37 AM, Christophe Lyon wrote: > On 14 June 2016 at 14:07, Jérôme Forissier > wrote: >> Hi, >> >> I've stumbled across an assembler error message that I don't understand. >> >> bl1/aarch64/bl1_exceptions.S:

Re: Error: non-constant expression in ".if" statement

2016-06-14 Thread Jim Wilson
A few more comments... The MAP_DATA support is emitting mapping symbols documented in the AARCH64 ELF ABI. Mapping symbols are emitted when switching from data to instructions, or vice versa, inside a section. However, mapping symbols are just addresses. There should be no need to emit

Re: Linaro 4.9 toolchain has issues with allyesconfig

2016-01-28 Thread Jim Wilson
On Thu, Jan 28, 2016 at 2:26 PM, Renato Golin wrote: > We have this bug in LLVM: > https://llvm.org/bugs/show_bug.cgi?id=23969 > Which deals with the problems of mcount messing up the prologue, and > it seems to affect both kernel and chromium. This is an unrelated

Re: Linaro 4.9 toolchain has issues with allyesconfig

2016-01-27 Thread Jim Wilson
On Wed, Jan 27, 2016 at 9:30 AM, Richard Earnshaw wrote: > Long calls would probably solve the problem, but would likely be > horribly expensive in performance. An allyesconfig is presumably only to verify that you haven't accidentally broken any build config with a

Re: armhf toolchain with glibc 2.13

2016-02-01 Thread Jim Wilson
On Sat, Jan 30, 2016 at 5:35 AM, Aaron R wrote: > My ARM target runs glibc 2.13 and I am having a hard time finding a > linaro toolchain for it. It seems like all the ones I have found ship with > glibc 2.15 (even old ones). If you link statically, most code compiled against

Re: Static arm-gcc

2016-02-22 Thread Jim Wilson
On Mon, Feb 22, 2016 at 6:11 AM, $rik@nth wrote: > Does linaro distributes arm-gcc as a pre-built static tool chain > distribution? If yes, where can i download them from. Please point me some > location from where i can download. We (the toolchain group) don't build and

Re: GCC's ABI 5

2016-01-20 Thread Jim Wilson
On Wed, Jan 20, 2016 at 3:49 AM, Yvan Roux wrote: >> I don't know how much distros were involved in the original design. >> Did they request the changes? Or was that an internal change? How do >> you guys get to decide when to break the world? It appears that changes to the

Re: [fido][meta-linaro-toolchain] arm-none-eabi-4.8-2014.04

2016-02-21 Thread Jim Wilson
On Fri, Feb 19, 2016 at 1:38 PM, Xi Zhou Zhou wrote: > I download the pre-built toolchain for one of our armv6 board. > https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz This is the embedded toolchain, for

Re: Cross compilation issue

2016-03-29 Thread Jim Wilson
On Tue, Mar 29, 2016 at 8:03 AM, $rik@nth wrote: > gcc.o:(.rodata+0x5acc): undefined reference to > `host_detect_local_cpu(int, char const**)' This suggests a problem with the --host configure option. host_detect_local_cpu is used only if __arm__ is defined, which means

Re: Question regarding the arm gcc 5.3 to build android

2016-03-30 Thread Jim Wilson
On Wed, Mar 30, 2016 at 5:18 PM, yfw wrote: > /tmp/ccZ40ViQ.s:1752: Error: selected processor does not support ARM mode > `cbnz r6,.L91' Looking at gcc, I see that in thumb2 mode, for a conditional branch, it will emit cbnz if the target is in range and it is using a

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 2:43 AM, Gunnar Arndt wrote: > I've unzipped the Linaro gcc archive with WinRAR, and - what probably makes > the difference - chosen NOT to overwrite duplicate files during unzipping. > It works now for simple test programs, but I fear that there will

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 2:43 AM, Gunnar Arndt wrote: > I've unzipped the Linaro gcc archive with WinRAR, and - what probably makes > the difference - chosen NOT to overwrite duplicate files during unzipping. > It works now for simple test programs, but I fear that there will

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-06 Thread Jim Wilson
On Wed, Apr 6, 2016 at 8:15 AM, Gunnar Arndt wrote: > embedded/gcc-linaro-5.3-2016.02-i686-mingw32_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.3.1/../../../../arm-linux-gnueabihf/lib/libstdc++.so: > file format not recognized; treating as linker script >

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 7:46 PM, Pinski, Andrew wrote: > Actually NTFS can be made to be case sensitive. Good point. I'd forgotten about that. See https://cygwin.com/cygwin-ug-net/using-specialnames.html about 1/3 of the way down it talks about turning off

Re: Cross compilation issue

2016-04-04 Thread Jim Wilson
On Mon, Apr 4, 2016 at 11:30 AM, $rik@nth wrote: > I am issuing abe with `../abe.sh --set cflags="-static" --set > ldflags="-pthread" --host arm-linux-gnueabi --target arm-linux-gnueabi > --build all` > am i configuring something wrong here? Please correct me That won't

Re: Cross compilation issue

2016-04-04 Thread Jim Wilson
On Mon, Apr 4, 2016 at 8:18 PM, $rik@nth wrote: > There is no way to build static tool chain by using abe tool at all? Maybe modify abe/lib/make.sh to add -static directly to LDFLAGS? Jim ___ linaro-toolchain mailing list

Re: Question regarding the arm gcc 5.3 to build android

2016-03-31 Thread Jim Wilson
On Thu, Mar 31, 2016 at 5:04 PM, fengwei.yin wrote: > Remove the __thumb__ part? If you remove the __thumb__ part, then you will get an assembler error. palantir:2025$ arm-linux-gnueabi-as UnwindCurrent.s UnwindCurrent.s: Assembler messages: UnwindCurrent.s:1504: Error:

Re: Cross compilation issue

2016-04-04 Thread Jim Wilson
On Sat, Apr 2, 2016 at 3:00 AM, $rik@nth wrote: > /home/hydlnxbld84/Srikanth/abe/build/snapshots/gcc.git~linaro-gcc-5-branch/gcc/real.h:79:76: > error: size of array test_real_width is negative >[sizeof (REAL_VALUE_TYPE) <= REAL_WIDTH * sizeof (HOST_WIDE_INT) ? 1 :

Re: Cross compilation issue

2016-04-04 Thread Jim Wilson
On Fri, Apr 1, 2016 at 7:10 AM, $rik@nth wrote: > I've read the Wiki page and start using abe tool to build cross > compile for ARM on x86 build system. But i am getting below error. > Also --set arch=arm argument is showing the arch is not found while > configuring. Abe

Re: [ACTIVITY] 18-22 April 2016

2016-04-24 Thread Jim Wilson
On Sat, Apr 23, 2016 at 4:43 PM, Rob Savoye wrote: > As a note, all the builders we use for binary releases run Trusty still. I > haven't tried Jessie (should work fine), > but I know that newer Mingw releases fail to compile GCC 5.x. In the weekly status meeting, Maxim

missing gold --be8 support

2016-05-24 Thread Jim Wilson
Cisco is trying to use clang/lto on big-endian arm, which apparently requires gold, and gold does not support the --be8 option which is required for ARMv7 big-endian support. Does anyone here care about this? Umesh Kalappa asked about this on the binutils mailing list

Re: vreinterpretq_*_p128 for converting from polynomials?

2016-07-28 Thread Jim Wilson
On Thu, Jul 28, 2016 at 8:36 AM, Jeffrey Walton wrote: > I'm having trouble finding vreinterpretq_u64_p128 (and friends) to > help convert a polynomial. I can't find it in arm_neon.h or > arm_acle.h: > An RPI-3 with ARMv8/Aarch32 and GCC 4.9.2 has it in arm_neon.h: Yes,

Re: What -mfpu option is used with neon, vfpv3 and vfpd32 flag?

2016-07-21 Thread Jim Wilson
On Thu, Jul 21, 2016 at 6:33 PM, Jeffrey Walton wrote: > I think vfpd32 cpu flag means I have 32 D-registers. The cpu flags > neon and vfpv3 flags means I want something more than -mfpu=neon-fp16, > but I'm not sure what that is. neon implies vfvp3 and 32 D-registers and

Re: What -mfpu option is used with neon, vfpv3 and vfpd32 flag?

2016-07-21 Thread Jim Wilson
On Thu, Jul 21, 2016 at 8:48 PM, Jeffrey Walton wrote: > Is there an arm-msr-tools or similar that has setuid so we can access the > MSRs? I'm not familiar with any such tool, but I haven't looked for one before. I found an x86 msr-tools project at github with a web search.

Re: What -mfpu option is used with neon, vfpv3 and vfpd32 flag?

2016-07-21 Thread Jim Wilson
On Thu, Jul 21, 2016 at 9:13 PM, Jeffrey Walton wrote: > So I guess the question is, what do I use for -mfpu=neon-vfp3 (or > -mfpu=neon-vfp3-d32)? Is -mfpu=neon enough? The -mfpu=neon option is enough. neon implies vfpv3 and 32 D registers. Jim

Re: Compile error when building an Aarch32 program on Aarch64?

2016-07-29 Thread Jim Wilson
On Fri, Jul 29, 2016 at 7:04 PM, Jeffrey Walton wrote: > How does one build an Aarch32 program on Aarch64? The arm and aarch64 compilers are separate compiler ports. So you need two different compilers, an arm compiler and an aarch64 compiler. The arm compiler emits only

Re: vreinterpretq_*_p128 for converting from polynomials?

2016-07-29 Thread Jim Wilson
On Fri, Jul 29, 2016 at 7:55 PM, Jeffrey Walton wrote: >> Yes, these *p128* intrinsics are missing from the aarch64 port. I'd >> suggest filing a bug report. > > Please forgive my ignorance. Who gets the report? Linaro, Debian or GCC? The FSF GCC bugzilla.

Re: stdc-predef.h failed during gcc-linaro-snapshot-6.1-2016.07 compile

2016-08-13 Thread Jim Wilson
On Sat, Aug 13, 2016 at 3:17 PM, wrote: > I've been trying to build the c and c++ cross-compiler for triplet > aarch64-linux-gnu (--target=aarch64-linux-gnu --enable-languages=c,c++) on > snapshot for 6.1-2016.07, and cannot get past this: > cc1: error: no include path in

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-21 Thread Jim Wilson
On Thu, Jul 21, 2016 at 1:53 AM, Richard Earnshaw <richard.earns...@arm.com> wrote: > On 20/07/16 22:33, Jim Wilson wrote: >> On Wed, Jul 20, 2016 at 2:14 PM, Jeffrey Walton <noloa...@gmail.com> wrote: >>> I'm having trouble with ARMv8/Aarch64. One is an early Mustang

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jim Wilson
On Wed, Jul 20, 2016 at 3:04 PM, Jeffrey Walton wrote: > Thanks Jim. According to ARM, ARMv8 is 64-bit > (http://www.arm.com/products/processors/armv8-architecture.php). Maybe > I'm parsing the page incorrectly? The armv8 architecture spec has both aarch32 (32-bit) and

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jim Wilson
On Wed, Jul 20, 2016 at 2:14 PM, Jeffrey Walton wrote: > I'm having trouble with ARMv8/Aarch64. One is an early Mustang server ARMv8 implies 32-bit code (aarch32). Aaarch64 implies 64-bit code. These are two different compilers, with two different sets of command line

Re: Unable to locate libnl library while compiling the wpa supplicant with nl80211 and hostapd mode enable in toolchain gcc-linaro-4.9-2015.05-x86_64

2016-07-12 Thread Jim Wilson
On Tue, Jul 12, 2016 at 12:55 AM, Rohit Kamat wrote: > while I am cross compiling the wpa supplicant with toolchain > gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf for hostapd and nl80211 > mode enabled in menuconfig I am getting linker message ld:cannot find -lnl >

Re: stdc-predef.h failed during gcc-linaro-snapshot-6.1-2016.07 compile

2016-08-15 Thread Jim Wilson
On Sun, Aug 14, 2016 at 8:29 PM, wrote: > One sample configure I'm trying, where "/mnt" is a loopback mounted clone of > the aarch64 system: > ${SRC}/configure > --prefix=/usr/local/aarch64-linux-gnu/gcc-linaro-6.1-2016.07 > --target=aarch64-linux-gnu \ >

Re: Compiler selection for log10/Qsort on ARM64

2017-02-07 Thread Jim Wilson
On Tue, Feb 7, 2017 at 7:50 AM, Bharat Bhushan wrote: > I am working on log10/qsort benchmarks on ARM64 (ARMv8) processor, > I want to check if we have experience with these benchmarks. We have experience with things like SPEC and Coremark, which are compiler

Re: v8.2-A CPU support

2017-02-21 Thread Jim Wilson
On Tue, Feb 21, 2017 at 11:04 PM, David Xia wrote: > Thanks for the information. I have checked the release notes which says GCC > 6.2 NO support on v8.2-A. So I would like to know when will v8.2-A support > would be added? Or the Linaro member could get the internal release

Re: v8.2-A CPU support

2017-02-22 Thread Jim Wilson
On Tue, Feb 21, 2017 at 11:34 PM, David Xia wrote: > Please check: > https://gcc.gnu.org/gcc-7/changes.html , it says, start to added > -march=armv8.2-a. Does it mean gcc-6.2 NOT support this option? > > So does the 'gcc-linaro-6.2.1-2016.11' add the same option? However, the

Re: ABE patching

2017-02-16 Thread Jim Wilson
On Thu, Feb 16, 2017 at 3:27 AM, Fathi Boudra wrote: > On 16 February 2017 at 06:12, Denys Dmytriyenko wrote: >> I was wondering if there was a way to apply local patches to toolchain >> components (gcc, binutils, glibc, etc.) when building with ABE. >>

Re: gcc-linaro-6.1-2016.07...Big Endian and Little Endian aarch64 Options

2016-08-21 Thread Jim Wilson
On Sun, Aug 21, 2016 at 3:07 PM, wrote: > also have some prebuilt 5.2 and 5.3 binaries, plus a few other 4.8 and 4.9 > compilers from quite some time back. I've used these for building a Linux > 3.10 kernel, and the newer linaro-6.1 fails during kernel compile. The issue >

Re: gcc-linaro-snapshot-6.1-2016.07 Sysroot/Host Requirements Question

2016-08-18 Thread Jim Wilson
On Thu, Aug 18, 2016 at 7:50 PM, wrote: > /home/build/linaro/32bit/./gcc/as: line 106: exec: -m: invalid option > exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection > ...] The libgcc config.log is the right one to look at. The error is here, when gcc

Re: gcc-linaro-snapshot-6.1-2016.07 Sysroot/Host Requirements Question

2016-08-20 Thread Jim Wilson
On Sat, Aug 20, 2016 at 7:38 PM, wrote: > The whole cross-architecture situation complicates things...in particular > I'm wondering "which" binutils (host versus target sysroot) we are talking > about? I'm trying to figure out if the missing binutils is from the armhf >

Re: Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread Jim Wilson
On Mon, Sep 5, 2016 at 8:10 AM, wrote: > There is a Linux kernel file "arch/arm64/kernel/deprecated.c". Within that > file is a block of code which is apparently designed to detect some sort of > older obsolete 32-bit code. Specifically, the warning message is "Using >

Re: AArch64: Disabling conditional execution

2016-09-20 Thread Jim Wilson
On Tue, Sep 20, 2016 at 8:07 AM, Fernando Endo wrote: > I'm using Linaro GCC 4.9-2015.01-3 for AArch64, and trying to disable the > generation of guarded instructions. More specifically, I'd like not to see > instructions such as 'cset', 'csinc', 'ccmp', 'fccmp', etc.

Re: Compiling linaro tool chain in cygwin

2016-10-31 Thread Jim Wilson
On Sat, Oct 29, 2016 at 1:49 AM, 李康 wrote: > Is there any instruction / manual for compiling linaro tool chain under > cygwin? We do our windows mingw32 builds under Linux, using cross compilers. We don't do builds on windows. In theory, a build should work under

Re: Does Linaro's GCC 4.9 include Crypto extensions and intrinsics?

2017-01-12 Thread Jim Wilson
On Thu, Jan 12, 2017 at 10:55 PM, Jeffrey Walton wrote: > Does Linaro's GCC 4.9 provide AES and SHA intrinsics? Crypto is an optional feature that is not enabled by default when selecting the armv8-a architecture. You either need to specify a processor that implements the

Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-20 Thread Jim Wilson
On Wed, Apr 19, 2017 at 11:35 PM, Jeffrey Walton <noloa...@gmail.com> wrote: > On Wed, Apr 19, 2017 at 9:57 PM, Jim Wilson <jim.wil...@linaro.org> wrote: >> On Wed, Apr 19, 2017 at 12:38 PM, Jeffrey Walton <noloa...@gmail.com> wrote: > The thing I am not sure about i

Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-19 Thread Jim Wilson
On Wed, Apr 19, 2017 at 12:38 PM, Jeffrey Walton wrote: > According to [1], I can use ".arch_extension" to enable it. According > to [2], ".arch_extension" is available in GCC 4.6 and GAS 2.21. My > version of Linaro provides GCC 4.9.2 and GAS 2.25.90. I can also > duplicate

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Jim Wilson
On Fri, Aug 11, 2017 at 1:34 PM, Godmar Back wrote: > Is this the wrong mailing list to ask the question then? Perhaps, but maybe you will get a response on Monday from someone in Europe that didn't see it today. > Normally, libraries are decomposed into individual .o files to

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Jim Wilson
On Fri, Aug 11, 2017 at 6:53 AM, Godmar Back wrote: > In a recent github thread > it > was suggested that I ask this list about what the exact reasons for the > lack of C++ support are, and how/if they break

Re: Problems with Aarch64 vmull_p64 and vmull_high_p64

2017-07-30 Thread Jim Wilson
On Sun, Jul 30, 2017 at 1:32 PM, Jeffrey Walton wrote: > hikey$ g++ -march=armv8-a test.cxx -c > test.cxx: In function ‘poly128_t VMULL_P64(poly64_t, poly64_t)’: > test.cxx:10:1: error: unrecognizable insn: pmull is part of the crypto extension, which is not enabled by

Re: Problems with Aarch64 vmull_p64 and vmull_high_p64

2017-07-30 Thread Jim Wilson
On Sun, Jul 30, 2017 at 4:47 PM, Jeffrey Walton wrote: > The odd thing is, ARM's ACLE [1], Section 6.5.4 (p.24), states Crypto > applies to > AES{E, D} and SHA1{C, P, M}. It does not mention PMULL. Later it goes > on to state PMULL gear is available on Aarch32 and Aarch64.