忍者ブログ

なんだか

知らないほうが幸せかもしれない

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

f18のx86_64でx32abiの環境を構築する その6

packageのインストール順とポイントだけ書いてます。
python3
glib2
gamin
libICE
libSM
dbus libs,devel
glib2 tests/unicode-encoding FAIL?

tcp_wrappers
unixODBC
cyrus-sasl --without-ldap --disable-ldapdb --disable-sql
openldap --disable-perl
cyrus-sasl --disable-sql

libgpg-error
libgcrypt gcc -mx32 -ldl
p11-kit
libtasn1
lzo
gmp
guile

拍手[0回]

PR

f18のx86_64でx32abiの環境を構築する その5

packageのインストール順とポイントだけ書いてます。

libblkid(util-linux)
libuuid(util-linux)
libcom_err(e2fsprogs)
krb5 --without-nss --without-openssl

xorg-x11-proto-devel
libXdmcp
libXau
libxcb
libX11

openssl multilib failed?
krb5
attr

libXext
libXi
libXtst
freetype
expat
fontconfig --disable-libxml2
libXrender
libXft
tk
tix
libdb4
libdb
gdbm
pam without cracklib
python without valgrind
libxml2
cracklib

拍手[0回]

f18のx86_64でx32abiの環境を構築する その4

packageのインストール順とポイントだけ書いてます。

libcap-ng --without-python
/usr/include/python2.7/pyconfig.h:4:25: fatal error: pyconfig-32.h: No such file or directory
#include "pyconfig-32.h"
# yum install python-libs.i686

gpm  --without-curses
ncurses
gpm
readline
tcl-8.5.13 --enable-threads
sqlite-3.7.15.2

nspr
nss-util
nss-softokn needs sqlite-devel
zlib
libpng
nss

glibc --enable-nss-crypt

util-linux pending needs audit selinux pam

xz

libxml2 --without-python
libsepol-2.1.8-8
bzip2
libedit
pcre needs my patch
libselinux without python3
/usr/include/x86_64-linux/ruby/config.h
#ifdef __ILP32__
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF___INT64 0
#define SIZEOF_OFF_T 4
#define SIZEOF_VOIDP 4
#else

拍手[0回]

f18のx86_64でx32abiの環境を構築する その3

gcc-4.8の再ビルド
x32なglibcができたので、gccをフルビルドします。

ここからは、packageのインストール順とポイントだけ書いてます。
rpmのspecの中身は秘密です。
数回、起動不能になったりしているので、自分用のメモになってます。

coreutils(f18)
/usr/bin
/usr/bin/32
/usr/bin/x32
envをsymlink

chrpath

tcl
libffi(f18)
libtool
llvm

拍手[0回]

f18のx86_64でx32abiの環境を構築する その2

x32なglibcの作成手順
rawhideのglibc-2.17を使います。

$ 32rpmbuild -bb glibc.spec
$ rpmbuild -bb glibc.spec

glibc-x32.diff この差分を使います。

$ rpmbuild -bb glibc-x32.spec
$ su
# cd ../RPMS
# rpm -Uvh x86_64/glibc-{,{devel,common,headers,static}-}2.17-3.fc18.x86_64.rpm i686/glibc-{,devel-}2.17-3.fc18.i686.rpm x86_64/glibc-x32-{,devel-}2.17-3.fc18.x86_64.rpm
# cd /usr/libx32
# cp -pr /libx32/* .
# cd /
# rm -fr libx32
# ln -s /usr/libx32

注意、rebootして起動しないことがあるかもしれません。
# reboot

拍手[0回]

カレンダー

04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

フリーエリア

最新CM

最新記事

(07/27)
(03/27)
(03/26)
(03/23)
(03/22)
(03/19)
(03/18)
(03/18)
(03/15)
(03/14)
(03/13)
(03/12)
(03/11)
(03/11)
(03/08)
(03/08)
(03/06)
(03/05)
(03/02)
(03/01)
(02/28)
(02/27)
(02/24)
(02/23)
(02/22)

プロフィール

HN:
kenrou
性別:
非公開

バーコード

ブログ内検索

最古記事

(12/15)
(12/16)
(12/17)
(12/18)
(12/19)
(12/20)
(12/21)
(12/22)
(12/23)
(12/24)
(12/25)
(12/26)
(12/27)
(12/28)
(12/29)
(12/30)
(12/31)
(01/01)
(01/02)
(01/21)
(01/22)
(01/23)
(01/24)
(01/24)
(01/28)

P R

忍者アナライズ

コガネモチ

忍者カウンター

カレンダー

04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31