http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60846
Jiri Svoboda <jirik.svoboda at seznam dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WORKSFORME |--- --- Comment #4 from Jiri Svoboda <jirik.svoboda at seznam dot cz> --- As an example: jirka@omelette:/tmp> echo "__int128 i;" > test.c jirka@omelette:/tmp> gcc -o test -m64 test.c /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.18/csu/../sysdeps/x86_64/start.S:118: undefined reference to `main' collect2: error: ld returned 1 exit status jirka@omelette:/tmp> gcc -c -m64 test.c jirka@omelette:/tmp> echo "__int128 i;" > test.c jirka@omelette:/tmp> gcc -c -m64 test.c jirka@omelette:/tmp> gcc -c -m32 test.c test.c:1:1: error: ‘__int128’ is not supported for this target __int128 i; ^ jirka@omelette:/tmp> gcc --version gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388] Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. jirka@omelette:/tmp> gcc -dumpmachine x86_64-suse-linux jirka@omelette:/tmp> So it works for x86_64 64-bit target, but not for 32-bit target. And I mean I would like to have this functionality in all 32-bit and 64-bit targets, not just in some. Since I'm developping a cross-platform network stack which runs on Intel (32-bit, 64-bit), PowerPC (32-bit), Itanium (64-bit), ARM (32-bit), MIPS (32-bit), etc.