View previous topic :: View next topic |
Author |
Message |
glahue n00b
Joined: 20 Jan 2013 Posts: 2
|
Posted: Tue Jan 22, 2013 11:57 am Post subject: Gentoo on Hackberry |
|
|
Hi,
i'm trying to install Gentoo on a Hackberry. I started with a Linaro image and a armv7a stage3. I have not tried to compile a kernel, so i'm still running the one from the Linaro image and work inside a chroot. I already have emerged some stuff, but when i try to emerge a jdk the libstdc++ it depends on gives the following error while emerging:
Code: |
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/ -B/usr/armv7a-hardfloat-linux-gnueabi/bin/ -B/usr/armv7a-hardfloat-linux-gnueabi/lib/ -isystem /usr/armv7a-hardfloat-linux-gnueabi/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/../include -DL_floatdisf -c /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/libgcc2.c -o libgcc/./_floatdisf.o
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s: Assembler messages:
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:11: Error: selected processor does not support ARM mode `ldfd f0,.L3'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:12: Error: selected processor does not support ARM mode `fltd f1,r3'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:13: Error: selected processor does not support ARM mode `mufd f1,f1,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:16: Error: selected processor does not support ARM mode `fltd f2,r0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:17: Error: selected processor does not support ARM mode `mufd f1,f1,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:18: Error: selected processor does not support ARM mode `ldfltd f0,.L3+8'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:21: Error: selected processor does not support ARM mode `adfltd f2,f2,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:22: Error: selected processor does not support ARM mode `adfd f1,f1,f2'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/ccJPMgpa.s:23: Error: selected processor does not support ARM mode `mvfd f0,f1'
make[2]: *** [libgcc/./_floatdidf.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s: Assembler messages:
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:23: Error: selected processor does not support ARM mode `ldfd f0,.L7+16'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:43: Error: selected processor does not support ARM mode `fltd f1,r3'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:44: Error: selected processor does not support ARM mode `mufd f1,f1,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:47: Error: selected processor does not support ARM mode `fltd f2,r6'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:48: Error: selected processor does not support ARM mode `mufd f1,f1,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:49: Error: selected processor does not support ARM mode `ldfltd f0,.L7+32'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:50: Error: selected processor does not support ARM mode `adfltd f2,f2,f0'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:51: Error: selected processor does not support ARM mode `adfd f1,f1,f2'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/cc4X7hiF.s:52: Error: selected processor does not support ARM mode `mvfs f0,f1'
make[2]: *** [libgcc/./_floatdisf.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[1]: *** [libgcc.a] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make: *** [all-gcc] Fehler 2
emake failed
|
I'm using the following CFLAGS:
Code: |
CFLAGS="-O2 -pipe -mcpu=cortex-a8 -mthumb -fomit-frame-pointer --float_support=VFPv3 --neon --abi=eabi -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
|
(Previously i used CFLAGS="-O2 -pipe -march=armv7-a -mthumb -fomit-frame-pointer -mfpu=vfpv3-d16 -mfloat-abi=hard" and only remerged gcc since changing to the above)
My CHOST is unchanged: Code: | CHOST="armv7a-hardfloat-linux-gnueabi" |
Any help to solve or further debug this problem would be very appreciated. Also if someone wants to assist in building the kernel and hardware specific modules, i'd be very happy and could arrange ssh access to the device.
Best,
Gregor |
|
Back to top |
|
|
CrankyPenguin Apprentice
Joined: 19 Jun 2003 Posts: 283
|
Posted: Wed Jan 23, 2013 6:32 am Post subject: |
|
|
Out of curiosity why aren't you cross-compiling for it on another system? _________________ Linux, the OS for the obsessive-compulsive speed freak in all of us. |
|
Back to top |
|
|
glahue n00b
Joined: 20 Jan 2013 Posts: 2
|
Posted: Wed Jan 23, 2013 5:04 pm Post subject: |
|
|
Because i thought i´d rather avoid problems when compiling natively
Best,
Gregor |
|
Back to top |
|
|
CrankyPenguin Apprentice
Joined: 19 Jun 2003 Posts: 283
|
Posted: Sun Jan 27, 2013 7:00 am Post subject: |
|
|
Fair point, I hope you are patient _________________ Linux, the OS for the obsessive-compulsive speed freak in all of us. |
|
Back to top |
|
|
joekickass n00b
Joined: 19 Mar 2012 Posts: 18 Location: Sweden
|
Posted: Sun Jan 27, 2013 1:31 pm Post subject: |
|
|
Quote: |
Code: |
CFLAGS="-O2 -pipe -mcpu=cortex-a8 -mthumb -fomit-frame-pointer --float_support=VFPv3 --neon --abi=eabi -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
|
|
Out of curiosity (since I'm a bit out of my comfort zone here), are the --neon and --float_support=... legal compiler options for gcc on ARM?
Check:
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
Have you tried changing them to e.g:
Code: |
CFLAGS="-O2 -pipe -mcpu=cortex-a8 -mthumb -fomit-frame-pointer -mfpu=neon --abi=eabi -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|