(pkgsrc)
- Instead of
"very evil hack to override CC, doing it via CONFIGURE_ENV doesn't work",
use CONFIGURE_ARGS
(upstream)
- Update 1.8.0 to 1.8.1
*** Changes in avr-libc-1.8.1:
* Bugs fixed:
[#31267] misleading header iom128rfa1.h
[#35197] sleep.h _BV defined as __BV in AT90S8515 section
[#35226] Online-documentation broken - [...]
[#35398] assert doesn't work unless stdlib.h is also included
[#35498] misspelled in <util/setbaud.h>
[#35539] stdlib.h does not provide EXIT_SUCCESS et al.
[#35948] iom32u4.h for ATmega32U4 incorrectly defines Timer 2
[#35971] attiny4313 (2313a) pin-change interrupts PCINT[0...2] vect etc
[#36053] Declaration of the register USIBR missing for ATtiny2313a/4313
[#36410] avr/boot.h: poisoned SPMCR for ATmega128
[#36454] string.h: Error for long long in C90
[#36581] avr-libc: pgmspace.h is not ANSI compliant
[#37103] ATtiny5/9/10/20/40 watchdog can't be enabled
[#37778] _MemoryBarrier() in cpufunc.h error on compile
[#38135] Install a dummy stdfix-avrlibc.h
[#38516] Missing TWI and UCSR1D definitions for ATmega16/32 U4
[#39049] Clock prescaler set and get are missing for TINY architecture
[#39783] CRC missing definitions and incorrect power macros for xmega D3
[#40003] Integer type promotion leads to inefficent code in wdt.h
[#40206] incorrect SP init in startup code for xmegas
[#40567] Invalid names in iotn13a.h (EEPE/EEMPE/BODS/BODSE)
[#40569] sleep_bod_disable does not work in attiny13a
[#40595] iotn2313a.h: wrong fuses definitions for High Fuse Byte
[#41006] iom328p.h: wrong fuse defaults
[#41519] wrong SPM_PAGESIZE definition in iotn[48]8.h
[#42024] build break regarding avrtiny10
[#42084] wrong LFUSE_DEFAULT in iotn84a.h
[#42085] HFUSE_DEFAULT not defined for iotn84.h
[#39779] PCIE0 and PCIE1 defined incorrectly for mega165a and mega165pa devices
[#38614] dtostrf - wrong behavior or wrong documentation
[#42957] missing SPMCSR defines in iom328p.h#
[#41690] Bit definitions for SPMCSR
[no-id] XXX_vect_num not consistent io90pwmx.h, iousbxx6_7.h
[no-id] Specialize clock_prescale_set/get for mega hvb devices
[no-id] Update register and bit definitions for tiny 13a/24a/44a/84a,
tiny167 and mega328p
* New devices supported:
- ATmega256RFR2, ATmega2564RFR2, ATmega128RFR2, ATmega1284RFR2,
ATmega64RFR2, ATmega644RFR2, AT90pwm161, ATA5272, ATA5505, ATA5790,
ATA5795, ATA6285, ATA6286, ATmega1284, ATmega128A, ATmega164PA,
ATmega165PA, ATmega168PA, ATmega3250PA, ATmega325PA, ATmega3290PA,
ATmega32A, ATmega48PA, ATmega64A, ATmega8A, ATtiny1634, ATtiny828,
ATxmega128A3U, ATxmega128A4U, ATxmega128B1, ATxmega128B3, ATxmega128C3,
ATxmega128D4, ATxmega16A4U, ATxmega16C4, ATxmega192A3U, ATxmega192C3,
ATxmega256A3BU, ATxmega256A3U, ATxmega256C3, ATxmega32A4U, ATxmega32C4,
ATxmega384C3, ATxmega384D3, ATxmega64A3U, ATxmega64A4U, ATxmega64B1,
ATxmega64B3, ATxmega64C3, ATxmega64D4
* Contributed Patches:
[#3729] Printf for integers speed up
[#7212] Add pgm_read_ptr() macros to pgmspace.h
[#7220] Add UBRR overload functionality to <util/setbaud.h>
[#7260] Addition to power.h
[#7485] CRC8-CCITT
[#7654] include/delay.h: delay_us >255us without decreasing resolution
[#7826] Add ATMega32u4 support to the led-blinking demo
[#7909] Adding __volatile__ to __asm__ within pgmspace header
[#7910] Add missing PCINT2_vect to iotn40.h and update all the
following vector numbers
[no-id] correction in xmega wdt_enable and wdt_disable added for xmega
[#8499] Device ata6289 should be of avr4 architecture
[no-id] Add RAMSTART, fix RAMSIZE, RAMEND and FLASHEND in device headers
[#8512] Rename tiny arch to avrtiny to sync with binutils
* Other changes:
- New macro _PROTECTED_WRITE(): write to Xmega IO registers that are
protected through the CCP mechanism
- Add support for scanf() conversion macros for 8-bit data types to
<inttypes.h>: SCNd8, SCNdLEAST8, SCNdFAST8, SCNi8, SCNiLEAST8,
SCNiFAST8, SCNo8, SCNoLEAST8, SCNoFAST8, SCNu8, SCNuLEAST8,
SCNuFAST8, SCNx8, SCNxLEAST8, SCNxFAST8
- Add time.h package, C standard functions such as mktime() and localtime,
along with 'ephemera' such as solar declination, time of sun rise and set.
- Introduce new configure option --with-debug-info=INFO, where INFO
can be either stabs, dwarf-2, or dwarf-4. By default, no debug
information will be generated.
- Add IO register debug symbols to crt*.o, so debuggers can see the
per-device defined IO registers (and __eeprom).
- A number of changes have been applied to make avr-libc more C++
aware.
----------------------------------------------------------------------
* Major changes compared to the previous version:
- Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
* New programmers supported:
- Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices),
or version 2 (Xmega devices)
- Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi
* Bugfixes
- bug #40055: AVRDUDE segfaults when writing eeprom
- bug #40085: Typo fix in fuses report (for 6.1-svn-20130917)
- bug #40782: Verify errors for object size > 16 k on x32e5 due
to typo in avrdude.conf
- bug #40817: Elf file support (possibly) not working on 6.0.1 windows build
- bug #40897: AT Mega2560 not correctly programmed with stk500(v1)
ISP (solution patch)
- bug #41357: OS X: Avrdude messes with the usb stack?
- bug #41402: dfu.c missing include <stdint.h>
- patch #7896: DFU FLIPv2 programming support
- patch #XXXX: xxx
* Internals:
- (Some) programmers can take a list of USB PIDs now.
Bump version 7.6 to 7.6.1
-------
GDB 7.6.1 provides the following fixes and improvements to GDB 7.6:
* PR tdep/15420 (Cannot debug threaded programs on newer versions
of x86-solaris - Solaris 10, Update 10 or later)
* PR remote/15455 (QTro remote packet broken)
* PR build/15476 (Build failure due to incomplete enum type in utils.h)
* PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend
address to 64 bit)
* PR server/15075 (dprintf inteferes with "next")
* PR server/15434 (dprintf uses a synchronous 'continue' even in
non-stop mode)
* PR tui/14880 (in split register layouts, up results in assertion
failure in value.c)
* PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain
core file)
* PR gdb/15837 (GDB prints entry values for local variables)
* PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
* PR cli/15603 (CTRL-C can no longer interrupt inferior)
* PR gdb/15604 (gdbserver socket leak 7.5 regression)
different from the PR (When submitting patch to pkgsrc with
adding more patches, submitter should do cvs add
patches/patch-hoge, before creating the pkgsrc patch, thanks).
I belive both simulavr and avr-libc will be packaged fine with this.
(upstream)
4.7.3 to 4.8.3 -- From grepping 'avr' from NEWS file:
--------------
On AVR, the configure option --with-avrlibc supported since GCC 4.7.2
is turned on per default for all non-RTEMS configurations. This option
arranges for a better integration of [3]AVR Libc with avr-gcc. For
technical details, see [4]PR54461. To turn off the option in non-RTEMS
configurations, use --with-avrlibc=no. If the compiler is configured
for RTEMS, the option is always turned off.
* Support has been added for the AVR-specific configure option
--with-avrlibc=yes in order to arrange for better integration of
[3]AVR-Libc. This configure option is supported in avr-gcc 4.7.2
and newer and will only take effect in non-RTEMS configurations. If
avr-gcc is configured for RTEMS, the option will be ignored which
is the same as specifying --with-avrlibc=no. See [4]PR54461 for
more technical details.
3. http://www.nongnu.org/avr-libc/
4. http://gcc.gnu.org/PR54461
#include <avr/io.h> /* Port Definitions from AVR-LibC */
* [297]14064 [avr-elf] -fdata-sections triggers ICE
* [302]16884 [avr-elf] [fweb related] bug while initializing
4.5.3 to 4.7.3
--------------
For the changes for 4.7, see following page.
http://gcc.gnu.org/gcc-4.7/changes.html
(Picking up AVR related topic from above info):
The AVR port's libgcc has been improved and its multilib
structure has been enhanced. As a result, all objects
contributing to an application must either be compiled with
GCC versions up to 4.6.x or with GCC versions 4.7.1 or
later. If the compiler is used with AVR Libc, you need a
version that supports the new layout, i.e. implements #35407.
The AVR port's -mshort-calls command-line option has been
deprecated. It will be removed in the GCC 4.8 release. See
-mrelax for a replacement.
The AVR port only references startup code that clears .bss and
the common section resp. initializes the .data and .rodata
section provided respective sections (or subsections thereof)
are not empty, see PR18145.
Applications that put all static storage objects into
non-standard sections and / or define all static storage
objects in assembler modules, must reference __do_clear_bss
resp. __do_copy_data by hand or undefine the symbol(s) by
means of -Wl,-u,__do_clear_bss resp. -Wl,-u,__do_copy_data.
Switch from Codesourcery to GNU FSF
(Upstream 2.23.2 to 2.24.0)
- binutils
* Objcopy now supports wildcard characters in command line options that take
section names.
* Add support for Altera Nios II.
- gas
* Add support for the Texas Instruments MSP430X processor.
* Add -gdwarf-sections command line option to enable per-code-section
generation of DWARF .debug_line sections.
* Add support for Altera Nios II.
* Add support for the Imagination Technologies Meta processor.
* Add support for the v850e3v5.
* Remove assembler support for MIPS ECOFF targets.
- ld
* Add LOG2CEIL() builtin function to the linker script language
* Add support for the Texas Instruments MSP430X processor.
* Add support for Altera Nios II.
* Add support for the V850E3V5 architecture.
* Add support for the Imagination Technologies Meta processor.
* --enable-new-dtags no longer generates old dtags in addition to new dtags.
* Remove linker support for MIPS ECOFF targets.
* Add ALIGN_WITH_INPUT to the linker script language to force the alignment of
an output section to use the maximum alignment of all its input sections.
Remove libiberty work around
(upstream)
Bump Version 2.23.2 to 2.24
(From binutils-2.24/binutils/NEWS)
---------------------------
Changes in 2.24:
* Objcopy now supports wildcard characters in command line options that take
section names.
* Add support for Altera Nios II.
(From binutils-2.24/ChangeLog)
---------------------------
(cross_only): Remove target-libiberty.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.