Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63478 - linux26-headers + xorg-x11 == build failure (struct ia64_fpreg)
Summary: linux26-headers + xorg-x11 == build failure (struct ia64_fpreg)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: IA64 All
: High major (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 14:48 UTC by SpanKY
Modified: 2004-11-07 07:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2004-09-09 14:48:41 UTC
the fix you mentioned earlier tim wasnt enough (adding the #include <elf.h> and the #ifndef PT_IA_64_HP_OPT_ANOT) ... further along in the build, it failed again:

i2 common # make
rm -f xf86KbdLnx.o
gcc -c -O2 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w   -fno-stack-protector -fno-merge-constants -I. -I../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../programs/Xserver/hw/xfree86/os-support/bus -I../../../../../programs/Xserver/mfb                 -I../../../../../programs/Xserver/mi -I../../../../../programs/Xserver/include -I../../../../../programs/Xserver/os               -I../../../../../exports/include/X11 -I../../../../../programs/Xserver/Xext -I../../../../../include/extensions           -I../../../../../programs/Xserver/Xi -I../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../programs/Xserver/hw/xfree86/i2c     -I../../../../../lib/font/include -I../../../../../include/fonts                 -I../../../../../programs/Xserver/hw/xfree86 -I../../../../../programs/Xserver/hw/xfree86/parser          -I../../../../../programs/Xserver/hw/xfree86/loader -I../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../programs/Xserver/hw/xfree86/rac           -I../../../../../programs/Xserver/hw/xfree86/scanpci -I../../../../../programs/Xserver/hw/xfree86/vbe -I../../../../../programs/Xserver/hw/xfree86/int10            -I../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../programs/Xserver/render -I../../../randr  -I../../../../.. -I../../../../../exports/include   -Dlinux -D__ia64__ -D_POSIX_C_SOURCE=199309L                                -D_POSIX_SOURCE -D_XOPEN_SOURCE                  -D_BSD_SOURCE -D_SVID_SOURCE                              -D_GNU_SOURCE                           -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP         -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension     -DPANORAMIX    -DRENDER -DRANDR         -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH      -DXFreeXDGA -DXvExtension                                -DXFree86LOADER  -DXFree86Server                         -DXF86VIDMODE                            -DXvMCExtension                                 -DSMART_SCHEDULE          -DXResExtension                                 -DX_BYTE_ORDER=X_LITTLE_ENDIAN                          -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((0) * 1000) + 0)" -D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO     -DMITMISC -DXTEST -DXTRAP  -DXSYNC -DXCMISC -DXRECORD      -DMITSHM -DBIGREQS -DXF86VIDMODE        -DXF86MISC -DDBE -DDPMSExtension -DEVI    -DSCREENSAVER -DXV -DXVMC       -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -D__GLX_ALIGN64           -DRES -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR      -DDDXOSVERRORF -DDDXTIME               -D__XCONFIGFILE__='"xorg.conf"'   -D__XCONFIGDIR__='"/etc/X11"' -D__XLOGFILE__='"Xorg"'     -D__XSERVERNAME__='"Xorg"' -D__XKBDEFRULES__='"xorg"' -D__VENDORDWEBSUPPORT__='"http://wiki.X.Org"'             -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'   xf86KbdLnx.c
In file included from /usr/include/asm/ptrace.h:59,
                 from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from xf86KbdLnx.c:166:
/usr/include/asm/fpu.h:58: error: redefinition of `struct ia64_fpreg'
make: *** [xf86KbdLnx.o] Error 1
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-09-22 13:48:28 UTC
Um, looks like I forgot to say: add #define _BITS_SIGCONTEXT_H after the #ifndef.
Comment 2 SpanKY gentoo-dev 2004-10-11 19:53:10 UTC
ok, can we get this going again ? :)

what's the proposed solution ?
Comment 3 SpanKY gentoo-dev 2004-11-03 19:32:34 UTC
just a reminder, the fix you applied to my chroot on dolphin worked ;)
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-11-07 07:52:26 UTC
Fixed in CVS, please reopen this bug if stuff still breaks :-]