Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[QoolBox VMDK] My Personal SDK with Fajo ToolChain
#31
oh i see...
you don't cross compile each dependencies one after another, up to the end : you compile everything in 32 then redo the whole process in 64
got it.

well with my method I can do both since everything is functions. btw when i get stucked with a particular library, problem is the same :lol:
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#32
yes,

you right some libs are hard to compile, due to old gcc embedded in the ToolChain.

for example impossible to cross compile MKVToolnix, require 4.6.3 minimun or VLC 2.0.5 under 32 bits require at least 4.4.2

Sad
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#33
yes,

you right some libs are hard to compile, due to old gcc embedded in the ToolChain.

for example impossible to cross compile MKVToolnix, require 4.6.3 minimun or VLC 2.0.5 under 32 bits require at least 4.4.2

Sad
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#34
lol

let's ask fajo if he wants to developp a second version of his toolchains with recent compilers !
we then juggle between 4 different local TOOLCHAIN paths...
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#35
lol

let's ask fajo if he wants to developp a second version of his toolchains with recent compilers !
we then juggle between 4 different local TOOLCHAIN paths...
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#36
dont think it is possible if you want keep compatibility with oldest glibc... must require a lot of patching but you can try to ask.

I already make a toolchain x64 with gcc 4.6.3 but i never test it yet...

you can have a try :

<!-- m --><a class="postlink" href="http://crosstool-ng.org/">http://crosstool-ng.org/</a><!-- m -->

spec for thecus are :

Code:
Firmware    Kernel      glibc

32bit

    2.00.xx     2.6.13      2.3.5
    2.01.xx     2.6.23      2.3.5
    3.x         2.6.23      2.3.5
    5.x         2.6.33      2.9

64bit

    1.x         2.6.36      2.11.1
    2.x         2.6.36      2.11.1
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#37
dont think it is possible if you want keep compatibility with oldest glibc... must require a lot of patching but you can try to ask.

I already make a toolchain x64 with gcc 4.6.3 but i never test it yet...

you can have a try :

<!-- m --><a class="postlink" href="http://crosstool-ng.org/">http://crosstool-ng.org/</a><!-- m -->

spec for thecus are :

Code:
Firmware    Kernel      glibc

32bit

    2.00.xx     2.6.13      2.3.5
    2.01.xx     2.6.23      2.3.5
    3.x         2.6.23      2.3.5
    5.x         2.6.33      2.9

64bit

    1.x         2.6.36      2.11.1
    2.x         2.6.36      2.11.1
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#38
Updated table:

Code:
Firmware    Kernel      glibc

32bit

    2.00.xx     2.6.13      2.3.5
    2.01.xx     2.6.23      2.3.5
    3.x         2.6.23      2.3.5
    5.x         2.6.33      2.9

64bit

    1.x         2.6.36      2.11.1
    2.01        2.6.36      2.11.1
   >2.01        2.6.38      2.11.1

/Falk
Further information und module downloads at FaJo.de

I decided to finally stop module development and maintenance. Existing modules are still available for download for now.
Reply
#39
Updated table:

Code:
Firmware    Kernel      glibc

32bit

    2.00.xx     2.6.13      2.3.5
    2.01.xx     2.6.23      2.3.5
    3.x         2.6.23      2.3.5
    5.x         2.6.33      2.9

64bit

    1.x         2.6.36      2.11.1
    2.01        2.6.36      2.11.1
   >2.01        2.6.38      2.11.1

/Falk
Further information und module downloads at FaJo.de

I decided to finally stop module development and maintenance. Existing modules are still available for download for now.
Reply
#40
thanks Falk

Wink
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#41
thanks Falk

Wink
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#42
thanks, yes !

One more thing :
I went into the taglib compilation, which requires cmake

should I install it under :
  • MODBASE1 DEV ? ${MODBASE1DEVxx}/bin/
  • TOOLCHAIN_PATH ? ${CROSSBASExx}/bin/
  • PREFIX DEST ? ${TMPDSTxx}${PREFIX}/bin/
  • SYSTEM PATH ? ()

i guess it's the system path ?
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#43
for cmake build

cross compile it such like other dependencies
you have just to find the right flag to adjust your compilation setting

example for MySQL

Code:
cmake .. -DCMAKE_INSTALL_PREFIX=/raid/data/module/MySQL/sys                   \
      -DCMAKE_CXX_FLAGS="-O2 -I/raid/data/module/MySQL/sys/include" \
      -DCMAKE_C_FLAGS="-O2 -I/raid/data/module/MySQL/sys/include" \
      -DINSTALL_DOCDIR=/raid/data/module/MySQL/sys/share/doc/mysql              \
      -DINSTALL_DOCREADMEDIR=/raid/data/module/MySQL/sys/share/doc/mysql        \
      -DINSTALL_INCLUDEDIR=/raid/data/module/MySQL/sys/include/mysql            \
      -DINSTALL_INFODIR=/raid/data/module/MySQL/sys/share/info                  \
      -DINSTALL_MANDIR=/raid/data/module/MySQL/sys/share/man                    \
      -DINSTALL_MYSQLDATADIR=/raid/data/module/MySQL/sys/srv/mysql             \
      -DINSTALL_MYSQLSHAREDIR=/raid/data/module/MySQL/sys/share/mysql           \
      -DINSTALL_MYSQLTESTDIR=/raid/data/module/MySQL/sys/share/mysql/test       \
      -DINSTALL_PLUGINDIR=/raid/data/module/MySQL/sys/lib/mysql                 \
      -DINSTALL_SBINDIR=/raid/data/module/MySQL/sys/sbin                        \
      -DINSTALL_SCRIPTDIR=/raid/data/module/MySQL/sys/bin                       \
      -DINSTALL_SQLBENCHDIR=/raid/data/module/MySQL/sys/share/mysql/bench       \
      -DINSTALL_SUPPORTFILESDIR=/raid/data/module/MySQL/sys/share/mysql/support \
      -DMYSQL_DATADIR=/raid/data/module/MySQL/sys/srv/mysql                    \
      -DMYSQL_UNIX_ADDR=/raid/data/module/MySQL/sys/var/run/mysql/mysql.sock   \
      -DSYSCONFDIR=/raid/data/module/MySQL/sys/etc                             \
      -DINSTALL_PLUGINTESTDIR=/raid/data/module/MySQL/sys/share/mysql/plugin_test \
      -DINSTALL_SHAREDIR=/raid/data/module/MySQL/sys/share \
      -DWITH_PARTITION_STORAGE_ENGINE=OFF           \
      -DWITH_PERFSCHEMA_STORAGE_ENGINE=OFF          \
      -DWITH_READLINE=yes    \
      -DWITH_SSL=yes         \

other example for CLUCENE (requied for Zarafa)


Code:
cmake \
-DCMAKE_INSTALL_PREFIX=/raid/data/module/zarafa/sys                   \
-DCMAKE_CXX_FLAGS="-O2 -I/raid/data/module/zarafa/sys/include" \
-DCMAKE_C_COMPILER=${HOST}-gcc \
-DCMAKE_CXX_COMPILER=${HOST}-g++ \
-DCMAKE_AR=${HOST}-ar \
-DCMAKE_RANLIB=${HOST}-ranlib \
-DZLIB_LIBRARY=/raid/data/module/zarafa/sys/lib \
-DZLIB_INCLUDE_DIR=/raid/data/module/zarafa/sys/include
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#44
hmmmm gotta find myslef all the necessary option to pass... no manual... nice...

well, some other things but for Fajo this time:
1) I found under the DEV32 module :
Code:
file ROOT.DEV32/raid/data/module/ModBase1/system/lib/libstdc++.so.6.0.13: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
is that ok to have a 64 bit library inside one of your your 32 bits module ?

2) and another thing about the C compiler :
Code:
cmake \
-DCMAKE_C_COMPILER=${CROSSHOST32}-cc \
(...)

-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.2.4
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- broken
CMake Error at /usr/local/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): (...)

giving to cmake a C compiler forced name (the toolchain name) is not always working: obviously, it's not taken into account; it still search for "cc", so I had to create a symlink "cc -> gcc" under
Toolchains/x-tools/i686-thecus32v5-linux-gnu/i686-thecus32v5-linux-gnu/bin
Toolchains/x-tools/x86_64-thecus64v1-linux-gnu/x86_64-thecus64v1-linux-gnu/bin

...since there already is a symlink "i686-thecus32v5-linux-gnu-cc -> i686-thecus32v5-linux-gnu-gcc" under
Toolchains/x-tools/i686-thecus32v5-linux-gnu/bin
Toolchains/x-tools/x86_64-thecus64v1-linux-gnu/bin
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#45
scavenger Wrote:hmmmm gotta find myslef all the necessary option to pass... no manual... nice...
well another thing but for Fajo : I found under the DEV32 module :

Code:
file ROOT.DEV32/raid/data/module/ModBase1/system/lib/libstdc++.so.6.0.13: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

is that ok to have a 64 bit library inside one of your your 32 bits module ?

better ask in modebase1 thread, not sure fajo will read this
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [QoolBox VMDK] My Personal SDK with Fajo ToolChain 0 19,515 Less than 1 minute ago
Last Post:

Forum Jump:


Users browsing this thread: 1 Guest(s)