no 64bit support with crossdev in avr-gcc (Gentoo 4.4.3 p1.0) 4.4.3. sizeof(long long) shows zero. after building my own gcc, without patching anything with this "http://www.nongnu.org/avr-libc/user-manual/install_tools.html#install_avr_gcc" instruction "$ bunzip2 -c gcc-<version>.tar.bz2 | tar xf - $ cd gcc-<version> $ mkdir obj-avr $ cd obj-avr $ ../configure --prefix=$PREFIX --target=avr --enable-languages=c,c++ \ --disable-nls --disable-libssp --with-dwarf2 $ make $ make install" it works. i used the gcc in distfiles. Reproducible: Always Steps to Reproduce: 1. compile some programm with uint64_t/long long etc, (any datatype with 64bit in size) 2. download to avr, and show the size of this datatype 3. Actual Results: sizeof(uint64_t) shows 0 Expected Results: sizeof(uint64_t) shows 8
someone who actually cares about avr will have to track this down
"someone who actually cares about avr will have to track this down" Who has build the avr part in crossdev?
crossdev isnt relevant
Can an 8bit toolchain even handle 64bit ints?
anything is possible with enough generated code thrown at it
seems to work with gcc-4.5.3 $ avr-gcc --version avr-gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3 $ echo 'char foo[sizeof(long long)];' | avr-gcc -x c -c - -o test.o $ readelf -s test.o | grep foo 12: 00000001 8 OBJECT GLOBAL DEFAULT COM foo