Bug 1264264
Summary: | ./target/include/asm/elf.h:4:9: error: unknown type name 'Elf32_Ehdr' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Hamzy <hamzy> |
Component: | openbios | Assignee: | Fedora Virtualization Maintainers <virt-maint> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | crobinso, hamzy, jforbes, laurent, pbonzini, rjones, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-05 20:00:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Hamzy
2015-09-18 04:42:59 UTC
What architecture is the host? What's the output of 'uname'? [root@hamzy-baby mock]# uname -a Linux hamzy-baby 3.17.4-301.fc21.ppc64p7 #1 SMP Mon Dec 1 00:50:18 MST 2014 ppc64 ppc64 ppc64 GNU/Linux I'm able to reproduce this. Just looking if there's some easy fix. Anyone figure this out? Does it reproduce with fedora23 ppc host? I was able to reproduce this easily on F22/ppc64 (big endian). However there was no obvious fix and I didn't try any later version of Fedora. I tried using koji-ppc. With openbios 1378 from fedora git: ppc-koji build --scratch f23 *.srpm Fails with: ./forthstrap -I/builddir/build/BUILD/openbios-1.1/forth/bootstrap/ -I/builddir/build/BUILD/openbios-1.1/forth/bootstrap/ -I/builddir/build/BUILD/openbios-1.1/forth/lib/ -I/builddir/build/BUILD/openbios-1.1/forth/device/ -I/builddir/build/BUILD/openbios-1.1/forth/debugging/ -I/builddir/build/BUILD/openbios-1.1/forth/admin/ -I/builddir/build/BUILD/openbios-1.1/forth/util/ -I/builddir/build/BUILD/openbios-1.1/forth/packages/ -I/builddir/build/BUILD/openbios-1.1/forth/system/ -I/builddir/build/BUILD/openbios-1.1/libopenbios/ -I/builddir/build/BUILD/openbios-1.1/packages/ -I/builddir/build/BUILD/openbios-1.1/drivers/ -I/builddir/build/BUILD/openbios-1.1/arch/ppc/ -I/builddir/build/BUILD/openbios-1.1 -I./forth -D bootstrap.dict -M bootstrap.dict.d -c bootstrap.dict-console.log forth/bootstrap/start.fs panic: segmentation violation at 0x7d54062c dict=0x3fff7d540010 here=0x3fff7d540638(dict+0x628) pc=0x0(dict+0x82abfff0) dstackcnt=0 rstackcnt=0 instruction=deadbeef dstack: 0x0 rstack: 0x0 Temporary log here: http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/1815/3121815/build.log Laurent, have you tried building openbios on ppc64? any ideas? Yes, it works fine on my Fedora 22 ppc64, it seems you are using svn 1334, you need commit from svn 1358: from git://git.qemu-project.org/openbios.git commit e0bd20a562f2221a821d782ddb4a85288fb47a78 Author: mcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32> Date: Fri Nov 6 15:06:36 2015 +0000 bootstrap: don't include files from target/include as system includes Replace "-I" by "-iquote" to only take files from this directory when '#include "..."' is used ('#include <...>' works as usual). We need this because on powerpc64 asm/sigcontext.h includes <asm/elf.h> and tries to include target/include/asm/elf.h instead of /usr/include/asm/elf.h. We also remove from include/arch/ppc/types/h some useless and conflicting type definitions. Signed-off-by: Laurent Vivier <laurent> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland.uk> git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1358 f158a5a8-5 612-0410-a976-696ce0be7e32 Thanks Laurent! that's in rawhide now since I just updated to 1378, so closing this |