View | Details | Raw Unified | Return to bug 192278
Collapse All | Expand All

(-)Makefile (-3 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	gcc
4
PORTNAME=	gcc
5
PORTVERSION=	4.5.1
5
PORTVERSION=	4.5.1
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	devel
7
CATEGORIES=	devel
8
MASTER_SITES=	${MASTER_SITE_GCC}
8
MASTER_SITES=	${MASTER_SITE_GCC}
9
MASTER_SITES+=	http://people.freebsd.org/~joerg/:local
9
MASTER_SITES+=	http://people.freebsd.org/~joerg/:local
Lines 18-25 Link Here
18
18
19
COMMENT=	FSF GCC 4.x for Atmel AVR 8-bit RISC cross-development
19
COMMENT=	FSF GCC 4.x for Atmel AVR 8-bit RISC cross-development
20
20
21
BROKEN=		Fails to build with avr-binutils 2.24
22
23
BUILD_DEPENDS=	avr-as:${PORTSDIR}/devel/avr-binutils \
21
BUILD_DEPENDS=	avr-as:${PORTSDIR}/devel/avr-binutils \
24
		avr-ld:${PORTSDIR}/devel/avr-binutils
22
		avr-ld:${PORTSDIR}/devel/avr-binutils
25
LIB_DEPENDS=	libmpfr.so:${PORTSDIR}/math/mpfr \
23
LIB_DEPENDS=	libmpfr.so:${PORTSDIR}/math/mpfr \
(-)files/patch-403-gcc-4.5.1-atmega48pa (-3 / +28 lines)
Lines 9-17 Link Here
9
   { "atmega48p",            ARCH_AVR4, "__AVR_ATmega48P__",         0, 0x0100, "m48p" },
9
   { "atmega48p",            ARCH_AVR4, "__AVR_ATmega48P__",         0, 0x0100, "m48p" },
10
   { "atmega88",             ARCH_AVR4, "__AVR_ATmega88__",          0, 0x0100, "m88" },
10
   { "atmega88",             ARCH_AVR4, "__AVR_ATmega88__",          0, 0x0100, "m88" },
11
   { "atmega88a",            ARCH_AVR4, "__AVR_ATmega88A__",         0, 0x0100, "m88a" },
11
   { "atmega88a",            ARCH_AVR4, "__AVR_ATmega88A__",         0, 0x0100, "m88a" },
12
diff -Naurp gcc/config/avr/t-avr gcc/config/avr/t-avr
12
--- gcc/config/avr/t-avr	2014-07-30 11:18:18.000000000 -0700
13
--- gcc/config/avr/t-avr	2011-06-20 12:23:54.000000000 +0530
13
+++ gcc/config/avr/t-avr	2014-07-30 11:28:54.000000000 -0700
14
+++ gcc/config/avr/t-avr	2011-06-20 12:11:26.000000000 +0530
14
@@ -107,8 +107,8 @@ fp-bit.c: $(srcdir)/config/fp-bit.c $(sr
15
 
16
 FPBIT = fp-bit.c
17
 
18
-MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr31/mmcu=avr35/mmcu=avr4/mmcu=avr5/mmcu=avr51/mmcu=avr6/mmcu=avrxmega2/mmcu=avrxmega4/mmcu=avrxmega5/mmcu=avrxmega6/mmcu=avrxmega7/mmcu=avrtiny10
19
-MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega2 avrxmega4 avrxmega5 avrxmega6 avrxmega7 avrtiny10
20
+MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr31/mmcu=avr35/mmcu=avr4/mmcu=avr5/mmcu=avr51/mmcu=avr6/mmcu=avrxmega2/mmcu=avrxmega4/mmcu=avrxmega5/mmcu=avrxmega6/mmcu=avrxmega7
21
+MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega2 avrxmega4 avrxmega5 avrxmega6 avrxmega7
22
 
23
 # The many avr2 matches are not listed here - this is the default.
24
 MULTILIB_MATCHES = \
15
@@ -155,6 +155,7 @@ MULTILIB_MATCHES = \
25
@@ -155,6 +155,7 @@ MULTILIB_MATCHES = \
16
 	mmcu?avr35=mmcu?attiny1634 \
26
 	mmcu?avr35=mmcu?attiny1634 \
17
 	mmcu?avr4=mmcu?atmega48 \
27
 	mmcu?avr4=mmcu?atmega48 \
Lines 20-22 Link Here
20
 	mmcu?avr4=mmcu?atmega48p \
30
 	mmcu?avr4=mmcu?atmega48p \
21
 	mmcu?avr4=mmcu?atmega8 \
31
 	mmcu?avr4=mmcu?atmega8 \
22
 	mmcu?avr4=mmcu?atmega8515 \
32
 	mmcu?avr4=mmcu?atmega8515 \
33
@@ -284,13 +285,7 @@ MULTILIB_MATCHES = \
34
 	mmcu?avrxmega6=mmcu?atxmega256a3bu \
35
 	mmcu?avrxmega6=mmcu?atxmega256d3 \
36
 	mmcu?avrxmega7=mmcu?atxmega128a1 \
37
-	mmcu?avrxmega7=mmcu?atxmega128a1u \
38
-	mmcu?avrtiny10=mmcu?attiny4 \
39
-	mmcu?avrtiny10=mmcu?attiny5 \
40
-	mmcu?avrtiny10=mmcu?attiny9 \
41
-	mmcu?avrtiny10=mmcu?attiny10 \
42
-	mmcu?avrtiny10=mmcu?attiny20 \
43
-	mmcu?avrtiny10=mmcu?attiny40 
44
+	mmcu?avrxmega7=mmcu?atxmega128a1u
45
 
46
 MULTILIB_EXCEPTIONS =
47
 
(-)pkg-plist (-3 lines)
Lines 33-40 Link Here
33
lib/gcc/avr/4.5.1/avrxmega6/libgcov.a
33
lib/gcc/avr/4.5.1/avrxmega6/libgcov.a
34
lib/gcc/avr/4.5.1/avrxmega7/libgcc.a
34
lib/gcc/avr/4.5.1/avrxmega7/libgcc.a
35
lib/gcc/avr/4.5.1/avrxmega7/libgcov.a
35
lib/gcc/avr/4.5.1/avrxmega7/libgcov.a
36
lib/gcc/avr/4.5.1/avrtiny10/libgcc.a
37
lib/gcc/avr/4.5.1/avrtiny10/libgcov.a
38
lib/gcc/avr/4.5.1/include-fixed/README
36
lib/gcc/avr/4.5.1/include-fixed/README
39
lib/gcc/avr/4.5.1/include-fixed/limits.h
37
lib/gcc/avr/4.5.1/include-fixed/limits.h
40
lib/gcc/avr/4.5.1/include-fixed/syslimits.h
38
lib/gcc/avr/4.5.1/include-fixed/syslimits.h
Lines 231-237 Link Here
231
@dirrm lib/gcc/avr/4.5.1/avrxmega5
229
@dirrm lib/gcc/avr/4.5.1/avrxmega5
232
@dirrm lib/gcc/avr/4.5.1/avrxmega6
230
@dirrm lib/gcc/avr/4.5.1/avrxmega6
233
@dirrm lib/gcc/avr/4.5.1/avrxmega7
231
@dirrm lib/gcc/avr/4.5.1/avrxmega7
234
@dirrm lib/gcc/avr/4.5.1/avrtiny10
235
@dirrm lib/gcc/avr/4.5.1/include
232
@dirrm lib/gcc/avr/4.5.1/include
236
@dirrm lib/gcc/avr/4.5.1/include-fixed
233
@dirrm lib/gcc/avr/4.5.1/include-fixed
237
@dirrm lib/gcc/avr/4.5.1/install-tools/include
234
@dirrm lib/gcc/avr/4.5.1/install-tools/include

Return to bug 192278