[oe-issues] [Bug 2432] Mesa fails on Efika
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Thu Jun 7 21:33:36 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2432
--- Comment #3 from Stelios Koroneos <skoroneos at digital-opsis.com> 2007-06-07 14:33:36 ---
That's strange it applies cleanly here...
OE Build Configuration:
BB_VERSION = "1.8.3"
OE_REVISION = "a4c23f199da95165095d8f9fb852c9b3e90bebff"
TARGET_ARCH = "powerpc"
TARGET_OS = "linux"
MACHINE = "efika"
DISTRO = "angstrom"
DISTRO_VERSION = "test-20070607"
TARGET_FPU = ""
NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item
virtual/powerpc-angstrom-linux-libc-for-gcc)
NOTE: Preparing Runqueue
NOTE: Executing runqueue
NOTE: Running task 534 of 575 (ID: 8,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_fetch)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r1: task do_fetch: started
NOTE: mesa-6.5.2-file://mklib-rpath-link.patch has no section, not checking URI
NOTE: mesa-6.5.2-file://fix-host-compile.patch has no section, not checking URI
NOTE: package mesa-6.5.2-r1: task do_fetch: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 565 of 575 (ID: 2,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_unpack)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r1: task do_unpack: started
NOTE: Unpacking /storage/sources/MesaLib-6.5.2.tar.bz2 to
/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r1/
NOTE: package mesa-6.5.2-r1: task do_unpack: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 566 of 575 (ID: 3,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_patch)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r1: task do_patch: started
NOTE: Applying patch 'mklib-rpath-link.patch'
NOTE: Applying patch 'fix-host-compile.patch'
NOTE: package mesa-6.5.2-r1: task do_patch: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 567 of 575 (ID: 4,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb,
do_configure)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r1: task do_configure: started
NOTE: package mesa-6.5.2-r1: task do_configure: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 568 of 575 (ID: 7,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb,
do_qa_configure)
NOTE: package mesa-6.5.2: started
and this what mtn diff outputs
stelios at Athena:/storage/angstrom/org.openembedded.dev$ mtn diff packages/mesa
#
# old_revision [a4c23f199da95165095d8f9fb852c9b3e90bebff]
#
# add_file "packages/mesa/mesa-6.5.2/fix-host-compile.patch"
# content [b099c7506653362001d76f153df4dd8e9a295fc6]
#
# patch "packages/mesa/mesa_6.5.2.bb"
# from [d348f32f0ec1cf6bf44dcd4b257b348a64c35d4f]
# to [5e62b8c3dbd22e804ba5d254afa8ce9bb773a6b2]
#
============================================================
--- packages/mesa/mesa-6.5.2/fix-host-compile.patch
b099c7506653362001d76f153df4dd8e9a295fc6
+++ packages/mesa/mesa-6.5.2/fix-host-compile.patch
b099c7506653362001d76f153df4dd8e9a295fc6
@@ -0,0 +1,30 @@
+--- /src/mesa/x86/orig-Makefile 2005-07-01 04:54:38.000000000 +0300
++++ /src/mesa/x86/Makefile 2007-06-07 21:52:31.000000000 +0300
+@@ -5,6 +5,7 @@
+
+
+ INCLUDE_DIRS = \
++ -I/usr/include \
+ -I$(TOP)/include/GL \
+ -I$(TOP)/include \
+ -I.. \
+@@ -13,6 +14,10 @@
+ -I../glapi \
+ -I../tnl
+
++OPT_FLAGS_host = -fexpensive-optimizations -fomit-frame-pointer
-frename-registers -Os
++
++CFLAGS_host = -Wall -Wmissing-prototypes $(OPT_FLAGS_host) $(PIC_FLAGS)
$(ARCH_FLAGS) \
++ $(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math
+
+ default: gen_matypes matypes.h
+
+@@ -21,7 +26,7 @@
+
+
+ gen_matypes: gen_matypes.c
+- $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
++ $(CC) $(INCLUDE_DIRS) $(CFLAGS_host) gen_matypes.c -o gen_matypes
+
+ # need some special rules here, unfortunately
+ matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
============================================================
--- packages/mesa/mesa_6.5.2.bb d348f32f0ec1cf6bf44dcd4b257b348a64c35d4f
+++ packages/mesa/mesa_6.5.2.bb 5e62b8c3dbd22e804ba5d254afa8ce9bb773a6b2
@@ -1,3 +1,8 @@
-PR = "r0"
+PR = "r1"
include mesa-mesa.inc
+
+SRC_URI_append = " file://fix-host-compile.patch;patch=1 "
+
+
+
--
Configure bugmail: http://bugs.openembedded.org/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