Assignee: unassigned at gcc dot gnu.org
Reporter: ge...@schorsch-tech.de
Target Milestone: ---
During our approach to get the raspberry pi3 and gentoo with an aarch64 kernel
and userland running i tried to cross compile a "native compiler for aarch64".
Our attempt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #1 from ge...@schorsch-tech.de ---
Created attachment 38136
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38136&action=edit
script to "cross compile the native compiler"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #2 from ge...@schorsch-tech.de ---
I also tried various target triplets
aarch64-linux-gnu and aarch64-armv8a-linux-gnueabi. Nut as far as i know
aarch64-linux-gnu is right.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #3 from ge...@schorsch-tech.de ---
I tried on the Raspberry pi 64 bit with the "C only gcc":
Pi_3 64_bit ~ # cat main.c
#include
#include
int main(int argc, char** argv)
{
printf("sizeof int64_t=%d\n&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #4 from ge...@schorsch-tech.de ---
Pi_3 64_bit ~ # grep int64_t /opt/cross/aarch64-linux-gnu/include/stdint.h
typedef long intint64_t;
typedef long long int int64_t;
typedef unsigned long int uint64_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #6 from ge...@schorsch-tech.de ---
Created attachment 38137
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38137&action=edit
config log of the attempt to compile gcc on the raspberry pi3
This is the complete config.log
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #7 from ge...@schorsch-tech.de ---
(In reply to ktkachov from comment #5)
> I usually use the target aarch64-none-linux-gnu, but aarch64-linux-gnu
> should work too.
>
> Note that GCC requires a C++ compiler to build,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #9 from ge...@schorsch-tech.de ---
This is the previous result as i tried this:
make[4]: Leaving directory
'/home/georg/intern/Dokumente/Entwicklung/rpi3/src/gcc/build-gcc/aarch64-armv8a-linux-gnueabi/libitm/testsuite
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #10 from ge...@schorsch-tech.de ---
Components to build the "aarch64-to-aarch64" gcc/g++:
-
sha1sum + filename
f10c64e92d9c72ee428df3feaf349c4ecb2493bd binutils-2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #12 from ge...@schorsch-tech.de ---
I purged all temporary build data, added
"--with-sysroot=/opt/aarch64-none-linux-gnu" to the configure line and rebuild
again. The same error.
/usr/aarch64-none-linux-gnu/usr/include/bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #13 from ge...@schorsch-tech.de ---
Now as i got a c++ compiler but no libstdc++ on the target, i try to use the
gentoo tools to emerge (compile) the complete gcc on the target. Let it run
over night whatever is needed. It is just a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
--- Comment #14 from ge...@schorsch-tech.de ---
Is it related to this?
https://gcc.gnu.org/ml/gcc-patches/2013-04/msg00896.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70464
ge...@schorsch-tech.de changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ge...@schorsch-tech.de
Target Milestone: ---
// #define USE_STD
#ifdef USE_STD
#include
#else
#include
#endif
#include
#include
#ifdef USE_STD
namespace rx = std;
#else
namespace rx = boost;
#endif
int main(int argc, char* argv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66359
--- Comment #1 from ge...@schorsch-tech.de ---
The example main.cpp from abouve works on other Compilers like MSVC-2013
(VS12).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59256
ge...@schorsch-tech.de changed:
What|Removed |Added
CC||ge...@schorsch-tech.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59256
--- Comment #6 from ge...@schorsch-tech.de ---
ups ... wrong bug .. please delete that submitted patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66359
--- Comment #4 from ge...@schorsch-tech.de ---
Created attachment 35666
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35666&action=edit
tried backport of 217461
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66359
--- Comment #3 from ge...@schorsch-tech.de ---
I tried to apply that revision to gcc-4.9.2. Now i get the following error.
g++ -DUSE_STD -std=c++11 main.cpp
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/regex:58:0
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ge...@schorsch-tech.de
Target Milestone: ---
I try to parse some data files and check the data with regex. During the parse
it fails on some lines. I reduced the code to the following.
#include
#include
#include
int main(int argc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68032
ge...@schorsch-tech.de changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
21 matches
Mail list logo