32bit Dynamically Linked App crashes without any prints on Linux Kernel 3.3 when compiled with Linaro GCC 2013.06) 4.8.2 20130603 (prerelease)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro |
New
|
Undecided
|
Unassigned | ||
Linaro GCC |
Invalid
|
Undecided
|
Matthew Gretton-Dann |
Bug Description
When we try to compile and run a simple hello_world program:
We compiled with:
linaro/
BUT when we compile the same with g++:
linaro/
ALSO,
Static linking with linaro/
This is what we have in the cpp file:
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
These are the libraries under /lib of our Linux Kernel:
ld-2.15.so
libSegFault.so
libc.so.6
libcrypt.so.1
libgcc_s.so.1
libnsl-2.15.so
libnss_
libnss_
libnss_
libpthread.so.0
librt.so.1
libthread_
ld-linux.so.3
libanl-2.15.so
libcidn-2.15.so
libdl-2.15.so
libm-2.15.so
libnsl.so.1
libnss_dns.so.2
libnss_
libnss_
libresolv-2.15.so
libstdc++.so
libthread_db.so.1
libBrokenLocale
libanl.so.1
libcidn.so.1
libdl.so.2
libm.so.6
libnss_
libnss_
libnss_nis-2.15.so
libpcprofile.so
libresolv.so.2
libstdc++.so.6
libutil-2.15.so
libBrokenLocale
libc-2.15.so
libcrypt-2.15.so
libgcc_s.so
libmemusage.so
libnss_compat.so.2
libnss_files.so.2
libnss_nis.so.2
libpthread-2.15.so
librt-2.15.so
libstdc+
libutil.so.1
Changed in gcc-linaro: | |
milestone: | none → 4.8-2013.08 |
Changed in gcc-linaro: | |
assignee: | nobody → Matthew Gretton-Dann (matthew-gretton-dann) |
Changed in gcc-linaro: | |
status: | New → Confirmed |
Changed in gcc-linaro: | |
status: | Confirmed → Invalid |
Hi,
To help me identify what is going on it would be useful if you could provide the following information:
* The output of -save-temps for all invocations of the compiler (this will be .s and .o files)
* The ARM core you are running on
Thanks,
Matt