Bug 17822 - [3.4 only] avr: Hard-coded XXX_FOR_TARGET
Summary: [3.4 only] avr: Hard-coded XXX_FOR_TARGET
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.4.3
: P2 minor
Target Milestone: 3.4.4
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 04:21 UTC by Ralf Corsepius
Modified: 2005-04-25 04:19 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: avr*
Build:
Known to work: 3.4.4 4.0.1 4.1.0
Known to fail:
Last reconfirmed: 2005-01-13 01:10:05


Attachments
Remove {AR|RANLIB}_FOR_TARGET from t-avr (262 bytes, patch)
2004-10-04 04:23 UTC, Ralf Corsepius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Corsepius 2004-10-04 04:21:53 UTC
gcc/config/avr/t-avr contains hard-coded values for
AR_FOR_TARGET and RANLIB_FOR_TARGETS

XXX_FOR_TARGET are supposed to be set by the configure script based on
configuration-time checks.
Comment 1 Ralf Corsepius 2004-10-04 04:23:19 UTC
Created attachment 7275 [details]
Remove {AR|RANLIB}_FOR_TARGET from t-avr
Comment 2 Andrew Pinski 2005-01-13 01:10:05 UTC
Confirmed.
Comment 3 GCC Commits 2005-04-06 05:34:44 UTC
Subject: Bug 17822

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	corsepiu@gcc.gnu.org	2005-04-06 05:34:30

Modified files:
	gcc            : ChangeLog 
	gcc/config/avr : t-avr 

Log message:
	2005-04-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
	
	PR target/17822
	* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8160&r2=2.8161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/t-avr.diff?cvsroot=gcc&r1=1.14&r2=1.15

Comment 4 Ralf Corsepius 2005-04-06 06:18:25 UTC
OK to apply this patch to gcc-4.0, too?
Comment 5 GCC Commits 2005-04-25 04:14:38 UTC
Subject: Bug 17822

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	corsepiu@gcc.gnu.org	2005-04-25 04:14:24

Modified files:
	gcc            : ChangeLog 
	gcc/config/avr : t-avr 

Log message:
	2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
	
	PR target/17822
	* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.189&r2=2.7592.2.190
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/t-avr.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.14&r2=1.14.10.1

Comment 6 GCC Commits 2005-04-25 04:17:49 UTC
Subject: Bug 17822

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	corsepiu@gcc.gnu.org	2005-04-25 04:17:34

Modified files:
	gcc            : ChangeLog 
	gcc/config/avr : t-avr 

Log message:
	2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
	
	PR target/17822
	* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.842&r2=2.2326.2.843
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/t-avr.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.12&r2=1.12.20.1

Comment 7 Ralf Corsepius 2005-04-25 04:18:24 UTC
Fix applied as obvious to mainline, 4.0-branch and 3.4-branch.
Comment 8 GCC Commits 2005-04-25 04:44:26 UTC
Subject: Bug 17822

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	corsepiu@gcc.gnu.org	2005-04-25 04:44:15

Modified files:
	gcc            : ChangeLog config.gcc 

Log message:
	2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
	
	PR target/17822
	* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.190&r2=2.7592.2.191
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.516.2.6&r2=1.516.2.7