Questions tagged [linaro]

Linaro is an organization that provides solutions for the Arm ecosystem, but it is not limited only to this architecture. This tag should be used in questions related to any of the Linaro's solutions.

Linaro is an organization that focuses in solutions mainly for the Arm ecosystem. Through collaboration, Linaro gathers industry and open source communities to work together developing great tools, elaborating key projects, reducing redundant effort, etc.

More information: http://www.linaro.org/about/

90 questions
2
votes
2 answers

API with std::pair breaks when switching from C++14 to C++17 on ARM?

We have been struggling with this very weird issue when upgrading from C++14 to C++17 (Ubuntu 18.04, GCC 7.5.0). The toolchain is Linaro's on Jetson TX2 and is the default. Background: We have a C++ application A that uses algorithms from library L…
juzzlin
  • 45,029
  • 5
  • 38
  • 50
2
votes
1 answer

Beagle bone cross compilation dynamic linking confusion

i'm not on here asking to solve a bug or problem , but just to get an understanding about something from those who have more experience. I bought a BeagleBone Black (Debian installed). I am cross compiling C++ for it on Windows by using gcc-linaro…
Engineer999
  • 3,683
  • 6
  • 33
  • 71
2
votes
0 answers

Multiple Version of libstdc++ in Raspberry Pi 3

I am having a Raspberry Pi 3. I have installed its native tool-chain on my Raspberry Pi 3 : GCC 4.9.2 (Raspbian 4.9.2-10) and necessary run-time libraries. I have downloaed gcc-linaro-6.3.1-2017.05-x86_64_armv8l-linux-gnueabihf : gcc version 6.3.1…
Dark Sorrow
  • 1,681
  • 14
  • 37
2
votes
1 answer

Android kernel compile error gcc6 linaro 6

I'm trying to compile using Linaro 6 and I'm receiving this error which I believe have something do do with GCC 6? I'm very amateur with compiling kernels or coding for that matter, but I couldn't figure this out even search similar terms: CC …
Mike
  • 35
  • 5
2
votes
0 answers

Building linux kernel 3.2.81 for ARM

I am trying to build linux kernel 3.2.81 for ARM. Here are the steps I am following: wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.81.tar.gz tar xvzf linux-3.2.81.tar.gz export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- cd…
Ramy Sameh
  • 271
  • 4
  • 13
2
votes
2 answers

c- recvfrom error 22

Okay first here is the code: int recvMast_sock; struct sockaddr_in serv_addr, cli_addr; socklen_t cli_len; if ((recvMast_sock = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { critErr("listen:socket="); } fillSockaddrAny(&serv_addr,…
Kami Kaze
  • 2,069
  • 15
  • 27
2
votes
1 answer

Why gcc place a large constant array to ".rwdata" section rather than ".rodata" section?

/* 0xFFFFFFFF * 256*/ #define test_256X0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, ... 0xFFFFFFFF After compiling, the const array is placed in ".rwdata" section rather than ".rodata" section, and I don't know why. After google and searching…
carl
  • 305
  • 3
  • 13
2
votes
1 answer

Linaro android qemu screen unlocking

I have setup Linaro android with QEMU. I referenced this document https://wiki.linaro.org/KenWerner/Sandbox/AndroidQEMU As the document warns, it is really slow but seems working however, when the boot process is completed, I can't unlock the…
daehee
  • 5,047
  • 7
  • 44
  • 70
2
votes
2 answers

Segmentaion fault after using operator new

I have a C++ code built for ARM target using linaro toolchain built specifically from source for the ARM hardware target (with softfp, mtune=cortex-a9 etc...) At times, the code crashes with below trace. I had attached gdb to the running…
goldenmean
  • 18,376
  • 54
  • 154
  • 211
1
vote
2 answers

Gstreamer1.0 missing element : v4l2h264enc in Qualcomm RB5

Before starting I am aware there are almost same questions with what I will ask, but since the question is almost board specific I will still ask. I have a Qualcomm RB5 Robotic Vision Kit which has ov9282 camera. I configured a lighter Ubuntu 18.04,…
Lady Be Good
  • 253
  • 2
  • 12
1
vote
0 answers

getting "error adding symbols: File format not recognized" error while cross compiling QT5 for raspberry pi

-lpthread -lm /home/sincap/raspi/qt-everywhere-src-5.12.12/qtbase/lib/libqtpcre2.a /home/sincap/raspi/qt-everywhere-src-5.12.12/qtbase/lib/libqtpcre2.a: error adding symbols: File format not recognized collect2: error: ld returned 1 exit…
SYncap
  • 11
  • 1
1
vote
0 answers

How can i fix warning: stack protector not protecting local variables: variable length buffer with gcc-linaro-7.5.0-2019.12-x86_64_arm-eabi

compiler: https://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-eabi/gcc-linaro-7.5.0-2019.12-x86_64_arm-eabi.tar.xz test.c: struct Foo{ char a[32]; // 32 and above will produce warning, but 31 and below will not char…
tteng little
  • 161
  • 1
  • 1
  • 6
1
vote
0 answers

Poky: Can't Build genericv8

I'm having a lot of trouble trying to build for aarch64 using the meta-linaro layer. I'm pretty new to openembedded and have been able to build qemu images by following the Yocto Quick Start Guide but now I'm trying to do my own thing and failing. I…
bebopjelli
  • 11
  • 2
1
vote
2 answers

Run valgrind on cross compiled executable

I'm using Ubuntu 18.04 VM and trying to find a way to valgrind check an arm-Linux executable. I've tried compiling with local gcc but ran into some problems. The executable is created by Makefile provided from project. I've tried linaro emulator,…
Anarchira
  • 13
  • 7
1
vote
0 answers

Issue with cross-compiling using CMake and the SYSROOT path

When using CMake for crosscompiling ARM executables and setting the CMAKE_SYSROOT variable in a toolchain file, the linker does not automatically find libraries which other libraries (which were explicitly linked to) depend on, such as z and glib.…
dwyer2bp
  • 49
  • 1
  • 4