From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11248 invoked by alias); 1 Jan 2011 19:18:23 -0000 Received: (qmail 11237 invoked by uid 22791); 1 Jan 2011 19:18:22 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 01 Jan 2011 19:18:17 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 6BD5F2F78009 for ; Sat, 1 Jan 2011 19:18:15 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z9t0YmJSNmIL; Sat, 1 Jan 2011 19:18:13 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001083] Fix warnings on creating target.ld for i386 targets X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 01 Jan 2011 19:18:00 -0000 Message-Id: <20110101191813.40F232F78004@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-01/txt/msg00002.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001083 --- Comment #3 from Sergei Gavrikov 2011-01-01 19:18:10 GMT --- (In reply to comment #1) > Sergei, your proposed change looks good to me. It matches the use of > ACTUAL_CFLAGS in some other architectural HALs (arm, m68k, etc). John, my check: Have no issue: $ grep target.ld -A3 hal/*/arch/current/cdl/hal_*cdl| grep '$(ACTUAL_CFLAGS)'|cut -d- -f1 hal/arm/arch/current/cdl/hal_arm.cdl hal/coldfire/arch/current/cdl/hal_coldfire.cdl hal/m68k/arch/current/cdl/hal_m68k.cdl hal/synth/arch/current/cdl/hal_synth.cdl Expectant: $ grep target.ld -A3 hal/*/arch/current/cdl/hal_*cdl| grep '$(CFLAGS)'|cut -d- -f1 hal/cortexm/arch/current/cdl/hal_cortexm.cdl hal/frv/arch/current/cdl/hal_frv.cdl hal/i386/arch/current/cdl/hal_i386.cdl hal/openrisc/arch/current/cdl/hal_openrisc.cdl hal/powerpc/arch/current/cdl/hal_powerpc.cdl hal/sh/arch/current/cdl/hal_sh.cdl hal/sparc/arch/current/cdl/hal_sparc.cdl hal/sparclite/arch/current/cdl/hal_sparclite.cdl I was able to verify builds for next architectures: 'cortexm', 'powerpc' and 'sh' (I have no other toolchains). Unfortunately, the compilers need substitution s/CFLAGS/ACTUAL_CFLAGS/ and in other places for those archs, i.e. on preprocessing stages (where compilers generate dependencies). There are more such places for 'powerpc' and 'sh' (sh2, sh3, ...) archs. My workaround just decrements the compiler's claims and does not calm builds there. Can I take risks and make all corrections without the ability to test all? It is safe for me is to apply the fix only for 'i386' and 'cortexm' archs. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.