[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#178289: patch for the ia64 build problem



On Thu, Feb 06, 2003 at 10:42:46AM -0500, Branden Robinson scrawled:
> On Thu, Feb 06, 2003 at 09:33:13PM +1100, Daniel Stone wrote:
> > This patch is, FWIW, unnecessary for my packages: a different fix (with
> > the same effect, however), was applied upstream, sometime before
> > 4.2.99.4.
> 
> Where?  Not to the file in question (xc/lib/X11/XlcDL.c) according to
> upstream CVS.

Well, if this is contradictory to my assertions, please let me know:

#ifdef _LP64
# if defined(__sparcv9)
#  define	_MACH64_NAME		"sparcv9"
# elif defined(__ia64__) 
#  undef MACH64_NAME
# else
#  error "Unknown architecture"
# endif /* defined(__sparcv9) */
# ifdef _MACH64_NAME
#  define	_MACH64_NAME_LEN	(sizeof (_MACH64_NAME) - 1)
# endif
#endif /* _LP64 */

[...]

#if defined(_LP64) && defined(_MACH64_NAME)
[sparcv9-only code]
#else
[code for the rest of us peons]
#endif

_LP64 is not mentioned further in the file.

Unless I'm fundamentally understanding the #if/#elif statements, that
code will *not* run on anything but "sparcv9". Unless, of course, IA64
defines __sparcv9.

> Do you know?

I'd hazard a guess at "yes", myself.

-- 
Daniel Stone                                     <dstone@trinity.unimelb.edu.au>
Developer, Trinity College, University of Melbourne

Attachment: pgpZeukgkvQDp.pgp
Description: PGP signature


Reply to: