Skip to contentSkip to conversation

x86_64 multilib system

DISCUSSION Paul Sokolovsky 1 participant 1 message Feb 21, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,

Quoted 7 lines · On Thu, 21 Feb 2008 22:23:20 +0100 "Kees Jongenburger"…

Hello Casey,

I played with getting mamona to compile "native" on my amd64 machine (I was quite far but gave up at one point). Here a some notes that might or might not be helpfull
they where certainly not checked against somebody with positive OE karma. but who knows

Thanks for the patches below, but for full use from them they'd rather be submitted to bugtracker where they have more chance to improve situation.

Quoted 11 lines

in kernel-arch I I removed the "," between x81_64 and i386 I think this was a bug causing
some flags to not be set correctly

============================================================
--- classes/kernel-arch.bbclass 2c3267a2a81eb0cb438cf4a9c97de95535bedf94 +++ classes/kernel-arch.bbclass 7ea458d4d49227e7004dac30da9b196af78b7adc

Review valid_archs = "alpha cris ia64 \ # · line 10

Quoted 7 lines
(quoted diff) +1 -1
@@ -5,7 +5,7 @@ valid_archs = "alpha cris ia64 \ #
 
 valid_archs = "alpha cris ia64 \
-               x86_64,i386 \
+               x86_64 i386 \
                m68knommu m68k ppc powerpc ppc64  \
               sparc sparc64 \
                arm  arm26 \

Committed.

Quoted 58 lines

glibc (I think the scripts where not ready for x86_64 ) they do some magic with the header files but not in this situation (therefore I pointed to the "running" headers
============================================================
--- packages/glibc/glibc_2.6.1.bb 1753994ceec7d4c54e81239f486d92052e46c752 +++ packages/glibc/glibc_2.6.1.bb b10038068973152df71cda0d5b20ba23c8db5dbd @@ -80,7 +80,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST --without-cvs --disable-profile --disable-debug --without-gd \ --enable-clocale=gnu \ --enable-add-ons=${GLIBC_ADDONS} \

(quoted diff) +1 -1
-               --with-headers=${STAGING_INCDIR} \
+               --with-headers=${STAGING_DIR_TARGET}/kernel/include \
                --without-selinux \
                ${GLIBC_EXTRA_OECONF}"

I was missing a site file for the amd64 therefore I copied pasted until it all worked
============================================================

ix86-common cf3e197d35f354997be356fc45deb95c81d66aff renamed from ix86-common d8fa481822d52ac3e2192ceabc012ca07c564206 +2 -0
@@ -262,3 +262,5 @@ ac_cv_have_abstract_sockets=${ac_cv_have
 
 #dbus
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
+
+ac_cv_func_shmat=${ac_cv_func_shmat=no}

============================================================

x86_64-linux e102617a308de8f8fe7d7bfd738b26bfb0b0426a renamed from x86_64-linux 05744d78da6f03499c0638db01b23ffc637b18b2 +4 -0
@@ -1,8 +1,10 @@ ac_cv_func_malloc_0_nonnull=${ac_cv_func
 ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes}
 ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
 ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
 ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
 ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
+ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes}
+ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
 ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes}
@@ -48,6 +50,7 @@ glib_cv_sane_realloc=${glib_cv_sane_real
 glib_cv_long_long_format=${glib_cv_long_long_format=ll}
 glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes}
 glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
+lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
 glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=40}
 glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
 glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=8}
@@ -78,5 +81,14 @@ am_cv_func_working_getline=${am_cv_func_
 # gettext
 am_cv_func_working_getline=${am_cv_func_working_getline=yes}
 
+#gstreamer

x86_64-linux e102617a308de8f8fe7d7bfd738b26bfb0b0426a am_cv_func_working_getline=${am_cv_func_ · line 94

Quoted 10 lines
x86_64-linux e102617a308de8f8fe7d7bfd738b26bfb0b0426a renamed from x86_64-linux 05744d78da6f03499c0638db01b23ffc637b18b2 +8 -0
+as_cv_unaligned_access=${as_cv_unaligned_access=no}
+
 #gcc
 ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes}
+
+apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
+apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
+
+dpkg_cv_va_copy=${ac_cv_va_copy=yes}
+dpkg_cv___va_copy=${ac_cv___va_copy=yes}

[]

Signature · 2 lines
Best regards,
 Paul                          mailto:[email protected]