[PATCH] Fix build regression on ia64.

Jeremy Huddleston jeremyhu at apple.com
Sat Dec 24 13:38:36 PST 2011


Right ... I understand how it works around the issue ... my concern is that I don't think this is the fix.  Why is it happening only for outl (ie why isnt it happening for outb or others)... I think all 6 should not be exported... perhaps all 6 should not be declared...

Sent from my iPhone...

On Dec 23, 2011, at 19:20, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:

> On 12/23/11 15:59, Jeremy Huddleston wrote:
>> I'm sorry, but I fail to see why this would be the fix to your issue... Can you please provide some context.
> 
>>> |   CCLD   Xorg
>>> | sdksyms.o:(.data.rel+0x27d8): undefined reference to `outl'
>>> -extern _X_EXPORT void outl(unsigned long port, unsigned int val);
> 
> sdksyms.c is the autogenerated source file containing a pointer to every
> struct marked as _X_EXPORT in some header, so as long as there is a header
> processed by the sdksyms script claiming we export that function, sdksyms
> will generate a reference to it so the linker pulls it into the resulting
> Xorg binary.
> 
> -- 
>    -Alan Coopersmith-        alan.coopersmith at oracle.com
>     Oracle Solaris Platform Engineering: X Window System
> 


More information about the xorg-devel mailing list