Error Unrecognized Command Line Option - Mno-unaligned-access
Contents |
to Milestone Linaro GCC Edit Invalid Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: Linaro GCC Filed here by: Stephen Wu When: 2014-05-05 Completed: 2014-08-22 Target Distribution error unrecognized command line option mno cygwin Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux
Gcc Error Unrecognized Command Line Option Mno Cygwin
Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Invalid Undecided Assigned to Nobody Me arm-none-linux-gnueabi-gcc command not found ubuntu Remote Watch None, the status of the bug is updated manually. None, the status of the bug is updated manually. URL: The information about this bug in Launchpad is automatically pulled daily from the make: arm-linux-gcc: command not found remote bug. Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Hi There, I got the error message when I add the option '-mno-unaligned-access' in. aarch64-none-elf-gcc: error: unrecognized command line option '-mno-unaligned-access' It looks like a validation GCC option. What's the issue? Add tags Tag help Zhenqiang Chen (zhenqiang-chen) wrote on 2014-05-06:
/bin/bash: Arm-linux-gcc: Command Not Found
#1 -mno-unaligned-access is a valid GCC option for some ports like ARM. But not for all. It is not enabled for aarch64 yet. BTW, Why do you want to use this option? Do you have unaligned-access issue? Ramana Radhakrishnan (ramana) wrote on 2014-05-06: RE: [Bug 1316314] Re: unrecognized command line option '-mno-unaligned-access' #2 -mstrict-align has the same effect for AArch64. Ramana > -----Original Message----- > From:
All. I am getting an error arm-linux-gcc command not found while i am giving command make zImage for mini2440. I have already given correct path as export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin. /bin/sh: 1: arm-linux-gcc: not found it shows correct path when i type echo $PATH but arm-none-linux-gnueabi-gcc install ubuntu don't know what is the issue please help. genpix 2013-06-06 07:58:32 may be you
Ubuntu Install Arm Linux Gcc
forgot ~ ? is it really /opt/FriendlyArm/toolschain/4.4.3/bin ? is it possible that it's actually at ~/opt/FriendlyArm/toolschain/4.4.3/bin ? did you try to execute just "arm-linux-gcc" ? https://bugs.launchpad.net/bugs/1316314 Mohan Saini 2013-06-06 10:04:33 Yes i have tried with arm-linux-gcc it shows command not found!! Reggie 2013-06-06 17:35:09 find where it actually is and put that in the export PATH= command instead? Did you unpack the toolchain as root? Juergen Beisert 2013-06-06 18:58:36 Check if you have installed the http://www.friendlyarm.net/forum/topic/5239 correct system libraries. Run the "ldd" command on the "/opt/FriendlyArm/toolschain/4.4.3/bin/arm-linux-gcc" executable and see what it tells you. I guess a 32 bit versus 64 bit issue. Mohan Saini 2013-06-06 20:05:27 Hi Sir, The previous issue has been resolved i was not unpacking toolchain in root. But now i am getting error while i am making zImage as. include/linux/math64.h: In function 'div_u64_rem': include/linux/math64.h:43: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function) include/linux/math64.h:43: error: (Each undeclared identifier is reported only once include/linux/math64.h:43: error: for each function it appears in.) In file included from /tmp/linux-2.6.32.2/arch/arm/include/asm/page.h:26, from include/linux/mm_types.h:15, from include/linux/sched.h:63, from arch/arm/kernel/asm-offsets.c:13: /tmp/linux-2.6.32.2/arch/arm/include/asm/glue.h:119:2: error: #error Unknown data abort handler type /tmp/linux-2.6.32.2/arch/arm/include/asm/glue.h:160:2: error: #error Unknown prefetch abort handler type In file included from include/linux/mm_types.h:15, from include/linux/sched.h:63, from arch/arm/kernel/asm-offsets.c:13: /tmp/linux-2.6.32.2/arch/arm/include/asm/page.h:116:2: error: #error Unknown user operations model make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 now why this error is
Sign in Pricing Blog Support Search GitHub This repository Watch 10 Star 11 Fork 15 jenswi-linaro/lcu14_optee_hello_world https://github.com/jenswi-linaro/lcu14_optee_hello_world/issues/3 Code Issues 3 Pull requests 1 Projects 0 Pulse Graphs New issue How to build this TA #3 Closed fanguannan0706 opened this Issue Apr 8, 2015 https://lists.rtems.org/pipermail/users/2015-February/028575.html · 22 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants fanguannan0706 commented Apr 8, 2015 not found I followed the steps at https://github.com/OP-TEE/optee_os and bulit the OP-TEE using FVP.Now, I want to bulid this TA, I tried to run the makefile ,but it didn't work. Please tell me how to build this TA. Thank you very much. Owner jenswi-linaro commented Apr 8, 2015 Hi, It compiles with the latest error unrecognized command commit from https://github.com/OP-TEE/optee_os and https://github.com/OP-TEE/optee_client with the following commands: # Make sure the cross compiler is in the PATH export PATH="${HOME}/armv7-toolchain/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin:${PATH}" # Make TA_DEV_KIT_DIR point to the export-user_ta directory that was created # when optee_os was built export TA_DEV_KIT_DIR=${HOME}/work/op-tee/out-os-qemu/export-user_ta # Make TEEC_EXPORT point to the export directory that was created when # optee_client was built export TEEC_EXPORT=${HOME}/work/op-tee/out-client-armv7/export # Select cross compiler for the user space program export HOST_CROSS_COMPILE=arm-linux-gnueabihf- # Select cross compiler for the trusted application export TA_CROSS_COMPILE=arm-linux-gnueabihf- make fanguannan0706 commented Apr 8, 2015 Hi, There is something wrong again: /home/fanguannan/devel/fvp_optee/optee_client/out/export/lib/libteec.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Makefile:19: recipe for target 'hello_world' failed make[1]: *** [hello_world] Error 1 make[1]: Leaving directory '/home/fanguannan/devel/lcu14_optee_hello_world-master/host' Makefile:6: recipe for target 'all' failed make: *** [all] Error 2 Owner jenswi-linaro commented Apr 8, 2015 Hi, Sorry, I missed that you're running normal world in Aarch64. Try the following instead: # Make s
[ thread ] [ subject ] [ author ] On 13/02/2015 12:35 am, Nicanord Mukendi Kabobo wrote: > Hello, > > I am a student in France and I want to run rtems4.11 map > xilinx_zynq_zedboard. I 've already compiled and install arm-rtems on my > pc and I have also installed Vivado 2014 on my fedora 21 64bit os. but I > have the dificulties compile u-boot-XLNX. > Here are the commands that I have typed: > > $ cd boot/u-boot-xlnx/ > > $ source /opt/Xilinx/Vivado/2014.4/settings64.sh > > $ export ARCH=arm > > $ export CROSS_COMPILE=arm-xilinx-eabi- > > $ make zynq_zed_config I have just updated to the latest git master (it has been a couple of years) and used: $ export PATH=/opt/work/rtems/4.11/bin:$PATH $ make CROSS_COMPILE=arm-rtems4.11- CONFIG_ABI=n \ CONFIG_CMD_DHCP=yes zynq_zed_config $ make CROSS_COMPILE=arm-rtems4.11- CONFIG_ABI=n \ CONFIG_CMD_DHCP=yes And it worked. > > Next I attempt todo make, and things start to fail. > > $ make > scripts/kconfig/conf --silentoldconfig Kconfig > scripts/kconfig/conf --silentoldconfig Kconfig > CHK include/config.h > GEN include/autoconf.mk > gcc: erreur: unrecognized command line option ‘-mno-unaligned-access' > gcc: erreur: unrecognized command line option ‘-mfpu=neon' > scripts/Makefile.autoconf:64: recipe for target 'include/autoconf.mk' failed > make[2]: *** [include/autoconf.mk] Error 1 > Makefile:470: recipe for target 'silentoldconfig' failed > make[1]: *** [silentoldconfig] Error 1 > make: *** No rule to make target 'include/config/auto.conf', needed by > 'include/config/uboot.release'. Arrêt. > > If anyone has successfully gotten this BSP's toactually work, it would > be very helpful. > I have it building but I do not use uboot because it is GPLv3. Please report back and let us know how you go. Chris Previous message: Run rtems4.11 map xilinx_zynq_zedboard Next message: Problem with m68k source builder Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the users mailing list