[Bugme-new] [Bug 8992] New: -mtune=generic failure

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Fri Sep 7 20:13:14 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=8992

           Summary: -mtune=generic failure
           Product: Other
           Version: 2.5
     KernelVersion: 2.6.17
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: dwalker at mvista.com
                CC: ak at suse.de


Most recent kernel where this bug did not occur: 2.6.16
Distribution: Fedora
Hardware Environment: i386
Software Environment:
Problem Description:
When building with CONFIG_X86_GENERIC the kernel fails with the following
message,
arch/i386/kernel/asm-offsets.c:1: error: bad value (generic) for -mtune= switch

With gcc version 4.1.2. If I compile anything else with -mtune=generic it won't
have this error. I narrowed it down to gcc failing with -mtune=generic and the
-S option.

for instance, if foo.c is "void main(void) { }"
and you compile with "gcc -S -mtune=generic foo.c -o foo" It fails. Removing -S
and it compile fine ..


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list