From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 25 Nov 2015 09:51:49 -0700 Subject: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter In-Reply-To: References: <1447402284-26598-1-git-send-email-bmeng.cn@gmail.com> <1447402284-26598-6-git-send-email-bmeng.cn@gmail.com> <564FBD9C.8080203@wytron.com.tw> <56546DBD.8050806@wytron.com.tw> <565528FB.901@wytron.com.tw> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 24 November 2015 at 23:44, Bin Meng wrote: > On Wed, Nov 25, 2015 at 11:20 AM, Thomas Chou wrote: >> Hi Simon, >> >> On 2015?11?25? 02:23, Simon Glass wrote: >>> >>> >>> Please try u-boot-dm/testing. This seems to be a different problem: >>> >>> avr32: + grasshopper >>> +lib/time.c:20: warning: register used for two global register variables >>> >> >> I am using the avr32 toolchain from kernel.org, and couldn't see the >> problem. >> gcc version 4.2.4-atmel.1.1.3.avr32linux.1 > > For me, I cannot reproduce the build error too with buildman. I am > using the same toolchain as Thomas. >> >> Would you please offer the link to download the avr32 toolchain you used? It is avr32-buildroot-linux-uclibc-gcc Target: avr32-buildroot-linux-uclibc Configured with: /home/sjg/c/buildroot/buildroot-2013.02/output/toolchain/gcc-4.2.2-avr32-2.1.5/configure --prefix=/home/sjg/c/buildroot/buildroot-2013.02/output/host/usr --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=avr32-buildroot-linux-uclibc --enable-languages=c --with-sysroot=/home/sjg/c/buildroot/buildroot-2013.02/output/host/usr/avr32-buildroot-linux-uclibc/sysroot --with-build-time-tools=/home/sjg/c/buildroot/buildroot-2013.02/output/host/usr/avr32-buildroot-linux-uclibc/bin --disable-__cxa_atexit --enable-target-optspace --disable-libquadmath --disable-libgomp --with-gnu-ld --disable-libssp --disable-multilib --disable-tls --enable-shared --with-gmp=/home/sjg/c/buildroot/buildroot-2013.02/output/host/usr --with-mpfr=/home/sjg/c/buildroot/buildroot-2013.02/output/host/usr --disable-nls --enable-threads --disable-largefile --disable-libmudflap Thread model: posix gcc version 4.2.2-atmel.1.0.8 So fairly old. I'm not sure if I built it or downloaded it - it was a while ago. So perhaps this is a toolchain problem. But still I don't think we want to declare the global_data pointer in a header file. Regards, Simon