Bug 33331 - FreeBSD __sparc64__ define no longer exists
Summary: FreeBSD __sparc64__ define no longer exists
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 12:21 UTC by Roy Marples
Modified: 2009-11-10 08:43 UTC (History)
2 users (show)

See Also:
Host: sparc64-gentoo-freebsd6.2
Target: sparc64-gentoo-freebsd6.2
Build: sparc64-gentoo-freebsd6.2
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Always define __sparc64__ if __arch64__ (448 bytes, patch)
2007-09-07 12:22 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples 2007-09-07 12:21:07 UTC
configure for a FreeBSD/Sparc64 target now forces a default value of ultrasparc for -mcpu. This means that the default target defines are never used, one of which is __sparc64__ as needed by a lot of FreeBSD sources. As such, gcc-4 cannot build FreeBSD/Sparc64.
Comment 1 Roy Marples 2007-09-07 12:22:47 UTC
Created attachment 14167 [details]
Always define __sparc64__ if __arch64__

This is patch based on the netbsd-elf.h file and seems to work just file.
Comment 2 Eric Botcazou 2008-11-30 09:54:05 UTC
What's the status of this patch exactly?
Comment 3 Eric Botcazou 2009-11-10 08:43:17 UTC
No feedback.