[Bug 4463] New: gdb-cross does not build on x86_64 hosts

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Thu Jul 31 23:01:48 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4463

           Summary: gdb-cross does not build on x86_64 hosts
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: raj.khem at gmail.com


while trying to build gdb-cross_6.8 on x86_64 host I stumbled upon this error.

| cc1: warnings being treated as errors
|
/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/gdb-6.8/gdb/xml-support.c:476:
warning: 'cdecl' attribute ignored
|
/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/gdb-6.8/gdb/xml-support.c:762:
warning: 'cdecl' attribute ignored
|
/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/gdb-6.8/gdb/xml-support.c:780:
warning: 'cdecl' attribute ignored
|
/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/gdb-6.8/gdb/xml-support.c:791:
warning: 'cdecl' attribute ignored
|
/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/gdb-6.8/gdb/xml-support.c:801:
warning: 'cdecl' attribute ignored
| make[2]: *** [xml-support.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory
`/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/build-arm-angstrom-linux/gdb'
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory
`/home/kraj/work/oe/build/glibc/tmp-omap5912osk/work/armv5te-angstrom-linux/gdb-cross-6.8-r2/build-arm-angstrom-linux'
| make: *** [all] Error 2



This error can be avoided if we have --disable-werror on gdb configure. However
the good solution is to patch expat so that it defined XMLDECL properly

and also the recipe for expat is quite old revision we are using but the
upgrade is for another day

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list