Bug 51748 - gcc.misc-tests/linkage.c fails on mips64-linux-gnu
Summary: gcc.misc-tests/linkage.c fails on mips64-linux-gnu
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: 12.0
Assignee: Andrew Pinski
URL: https://gcc.gnu.org/pipermail/gcc-pat...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2012-01-03 23:44 UTC by Andrew Pinski
Modified: 2021-09-01 19:52 UTC (History)
0 users

See Also:
Host:
Target: mips64-*-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-01-03 00:00:00


Attachments
Patch (647 bytes, patch)
2021-09-01 00:17 UTC, Andrew Pinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pinski 2012-01-03 23:44:19 UTC
Currently gcc.misc-tests/linkage.c fails because testsuite/gcc.misc-tests/linkage.exp does not have the support for -mabi=n32/-mabi=64 in it.
"mips-sgi-irix6*" is supported and mips*-linux-gnu can be supported the same way.
Comment 1 Andrew Pinski 2012-01-03 23:44:47 UTC
I am going to fix it.
Comment 2 Andrew Pinski 2021-09-01 00:17:42 UTC
Created attachment 51390 [details]
Patch
Comment 3 GCC Commits 2021-09-01 19:49:17 UTC
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:852fdc23a20d07087b5908b57ae7725f435732d5

commit r12-3301-g852fdc23a20d07087b5908b57ae7725f435732d5
Author: Andrew Pinski <apinski@marvell.com>
Date:   Wed Sep 1 00:13:51 2021 +0000

    Add MIPS Linux support to gcc.misc-tests/linkage.c (testsuite/51748)
    
    This adds MIPS Linux support to gcc.misc-tests/linkage.exp.  Basically
    copying what was done for MIPS IRIX and changing the options to be correct.
    
    OK?
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/51748
            * gcc.misc-tests/linkage.exp: Add mips*-linux-* support.
Comment 4 Andrew Pinski 2021-09-01 19:52:52 UTC
Fixed.