Lv Zheng schrieb:
Hi, all

I'm new to this mailing list to report an old version avr-gcc bug which might be a known bug and wonder if someone here can kindly give me hints if there are any solutions.

If you see a bug: The last GCC version supported is 4.3

The last avr-gcc version supported is 4.6 (because of developer shortage)

If it's only a missed optimization, it might be fixed for 4.8 provided a proper bug report is made.

We found this bug when we compile our project (sdfirm.sourceforge.net) using avr-gcc-4.5.2 or avr-gcc-3.4.4.

C source codes are attached hereafter:

Obviously, not

* undefined: uint16_t
* undefined: boolean
* undefined: PN53X_REG_CIU_BASE
* undefined: PN53X_REG_CIU_SIZE

No crystal ball at this side of the cable...
See below for instructions

The cc command line is listed as the following:

 avr-gcc -Wp,-MD,drivers/scs/.pn53x_stub.rel.d
 -nostdinc -nostdlib -D__KERNEL__ -Iinclude
   -Wall -DKBUILD_CONF -Iinclude
  -D__AVR__
-ffunction-sections -fsigned-char -mmcu=avr51
-D__AVR_ENHANCED__ -D__AVR_MEGA__ -D__AVR_2_BYTE_PC__
-Os -fomit-frame-pointer
    -o drivers/scs/pn53x_stub.rel -c drivers/scs/pn53x_stub.c

We don't have the files you have.

To enable others to reproduce, do the following:

* compile together with -v -save-temps -dp
* show us the command line output
* show us the generated .i file
* show us what is wring with the generated .s file

If no .s file is produced (there is bug in 3.4) then compile
with -S instead of -save-temps -o file.o -c

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to