public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47091] New: arm-netbsd fails to build
@ 2010-12-29  0:31 amylaar at gcc dot gnu.org
  2010-12-29  0:40 ` [Bug target/47091] non-elf arm targets fail " amylaar at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-12-29  0:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

           Summary: arm-netbsd fails to build
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
            Blocks: 44756
              Host: x86_64-pc-linux-gnu
            Target: arm-netbsd


../../../gcc/gcc/config/arm/arm.c:16888:1: error: ‘arm_elf_asm_constructor’
defined but not used [-Werror=unused-function]
../../../gcc/gcc/config/arm/arm.c:16896:1: error: ‘arm_elf_asm_destructor’
defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors


The offending functions have ATTRIBUTE_UNUSED prototypes in arm.c, but these
prototypes are inside an
#ifdef OBJECT_FORMAT_ELF
block.  Either these prototypes have to be made unconditional, or the function
definitions have to be made likewise conditional.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
@ 2010-12-29  0:40 ` amylaar at gcc dot gnu.org
  2010-12-29 11:20 ` joseph at codesourcery dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-12-29  0:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-netbsd, arm-pe          |arm-netbsd, arm-pe,
                   |                            |arm-wince-pe
            Summary|arm-netbsd fails to build   |non-elf arm targets fail to
                   |                            |build

--- Comment #1 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-12-29 00:40:32 UTC ---
The arm-pe / arm-wince-pe targets are saddled with another unused function:
../../../gcc/gcc/config/arm/arm.c:4874:1: error:
‘arm_handle_notshared_attribute’ defined but not used [-Werror=unused-function]

Declaration and definition depend on TARGET_DLLIMPORT_DECL_ATTRIBUTES, but the
only use also depends on !defined(ARM_PE), and the declaration has no
ATTRIBUTE_UNUSED marker.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
  2010-12-29  0:40 ` [Bug target/47091] non-elf arm targets fail " amylaar at gcc dot gnu.org
@ 2010-12-29 11:20 ` joseph at codesourcery dot com
  2010-12-29 16:02 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2010-12-29 11:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-12-29 11:20:39 UTC ---
arm-netbsd appears unmaintained.  Apart from the desirability of moving 
NetBSD to EABI, there's a clear bogosity in arm/netbsd.h I noticed a while 
back:

/* Although not normally relevant (since by default, all aggregates
   are returned in memory) compiling some parts of libc requires
   non-APCS style struct returns.  */
#undef TARGET_RETURN_IN_MEMORY

That's a target hook, not a macro.  The #define is in arm.c; the #undef 
has no effect.  Presumably a broken conversion from macros to hooks, not 
noticed for lack of anyone using recent GCC for this target.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
  2010-12-29  0:40 ` [Bug target/47091] non-elf arm targets fail " amylaar at gcc dot gnu.org
  2010-12-29 11:20 ` joseph at codesourcery dot com
@ 2010-12-29 16:02 ` rguenth at gcc dot gnu.org
  2010-12-29 16:11 ` joseph at codesourcery dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-29 16:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-29 16:02:12 UTC ---
Joern, can you create a meta-bug to track the various non-building target
configurations?  It would be nice to have a single place for an overview
(and a possible list of targets to deprecate).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2010-12-29 16:02 ` rguenth at gcc dot gnu.org
@ 2010-12-29 16:11 ` joseph at codesourcery dot com
  2010-12-29 17:34 ` amylaar at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2010-12-29 16:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-12-29 16:11:10 UTC ---
On Wed, 29 Dec 2010, rguenth at gcc dot gnu.org wrote:

> (and a possible list of targets to deprecate).

I gave my own suggestions for deprecations in 
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01165.html> - there are some 
overlaps with the non-building targets (Interix, some a.out BSD, crosses 
to alpha*-dec-osf5.1* without GNU as don't build).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2010-12-29 16:11 ` joseph at codesourcery dot com
@ 2010-12-29 17:34 ` amylaar at gcc dot gnu.org
  2010-12-30 16:45 ` amylaar at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-12-29 17:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

--- Comment #5 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-12-29 17:34:21 UTC ---
(In reply to comment #3)
> Joern, can you create a meta-bug to track the various non-building target
> configurations?  It would be nice to have a single place for an overview
> (and a possible list of targets to deprecate).

I've created PR47093 for that.
When the build merely hit a -werror-always issue, I made the PR block 44756,
and PR 44756 blocks PR47093.
Of course, a --enable-werror-always issue might mask a hard failure later on.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2010-12-29 17:34 ` amylaar at gcc dot gnu.org
@ 2010-12-30 16:45 ` amylaar at gcc dot gnu.org
  2012-07-10 12:25 ` rearnsha at gcc dot gnu.org
  2013-02-26 10:56 ` amylaar at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-12-30 16:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #6 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-12-30 16:44:55 UTC ---
I've posted a patch here:

http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01980.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2010-12-30 16:45 ` amylaar at gcc dot gnu.org
@ 2012-07-10 12:25 ` rearnsha at gcc dot gnu.org
  2013-02-26 10:56 ` amylaar at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2012-07-10 12:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-netbsd, arm-pe,         |arm-netbsd
                   |arm-wince-pe                |

--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-07-10 12:25:01 UTC ---
arm-pe and arm-wince-pe targets have now been removed from GCC.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/47091] non-elf arm targets fail to build
  2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2012-07-10 12:25 ` rearnsha at gcc dot gnu.org
@ 2013-02-26 10:56 ` amylaar at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: amylaar at gcc dot gnu.org @ 2013-02-26 10:56 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #8 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2013-02-26 10:56:05 UTC ---
I can't see from the ChangeLogs or svn logs of config.sub / config.gcc when
it happened, but configure now says arm-netbsd is not supported, so closing
this as WONTFIX.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-26 10:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-29  0:31 [Bug target/47091] New: arm-netbsd fails to build amylaar at gcc dot gnu.org
2010-12-29  0:40 ` [Bug target/47091] non-elf arm targets fail " amylaar at gcc dot gnu.org
2010-12-29 11:20 ` joseph at codesourcery dot com
2010-12-29 16:02 ` rguenth at gcc dot gnu.org
2010-12-29 16:11 ` joseph at codesourcery dot com
2010-12-29 17:34 ` amylaar at gcc dot gnu.org
2010-12-30 16:45 ` amylaar at gcc dot gnu.org
2012-07-10 12:25 ` rearnsha at gcc dot gnu.org
2013-02-26 10:56 ` amylaar at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).