public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24585]  New: spurious section conflict error while building linux kernel
@ 2005-10-30 15:55 ak at muc dot de
  2005-10-30 15:56 ` [Bug target/24585] " ak at muc dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ak at muc dot de @ 2005-10-30 15:55 UTC (permalink / raw)
  To: gcc-bugs

Seems to happen with 3.3,3.4,

Short test case courtesy of A.Pinski:

static void __attribute__ ((__section__ (".init.text"))) pci_fixup_i450nx(void)
{  }
static int __attribute__ ((__section__ (".init.text"))) 
toshiba_ohci1394_dmi_table[] = {  };

causes with gcc (without -O2);
t.c:4: error: toshiba_ohci1394_dmi_table causes a section type conflict

(the longer test case which I attach shows it with optimization
too)



On the big file the actual function (it has a lot of these) depends
on optimization level and compiler version


-- 
           Summary: spurious section conflict error while building linux
                    kernel
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ak at muc dot de
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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


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

end of thread, other threads:[~2005-11-01 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-30 15:55 [Bug target/24585] New: spurious section conflict error while building linux kernel ak at muc dot de
2005-10-30 15:56 ` [Bug target/24585] " ak at muc dot de
2005-10-30 16:12 ` pluto at agmk dot net
2005-10-30 16:13 ` [Bug middle-end/24585] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-10-30 16:18 ` pinskia at gcc dot gnu dot org
2005-10-31  6:45 ` mmitchel at gcc dot gnu dot org
2005-11-01  6:38 ` wilson at gcc dot gnu dot org
2005-11-01 14:55 ` pinskia at gcc dot gnu dot 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).