Build errors in building L4re for ARM

Rahul Ramasubramanian ramasubramanian.rahul at gmail.com
Mon Apr 4 16:58:14 CEST 2011


Hi Adam
here is the log for the make -V command

make V=1 startup.o
Building entry "auto-build-entry".
Automatic build entry is being built.
This image is useless but it always builds.
Merging image ./Makefile to mod00
Merging image ./Makefile to mod01
Merging image ./Makefile to mod02
if  test ! -r ".redo-change-tracker" ||                    \
            ! echo "auto-build-entry '0' '256' 'rv' '1'" | cmp -s
".redo-change-tracker"; then \
  echo "auto-build-entry '0' '256' 'rv' '1'" > .redo-change-tracker;  \
fi
  ... Compiling startup.o
LD_PRELOAD=libgendep.so
LD_LIBRARY_PATH=/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/tool/gendep/64:/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/tool/gendep/32
GENDEP_TARGET=startup.o GENDEP_BINARY=cc1plus    arm-linux-g++ -c
-DSINGLE_SECTION -DLOADER_MBI -DPLACE_MODULES_AT_MODADDR -DRAM_SIZE_MB=256
-DIMAGE_MODE -DMODADDR=2097152     -DRAM_BASE=0x0 -DCMDLINE="\"\""
-DPLATFORM_TYPE=\"rv\" -DPLATFORM_TYPE_rv     -DSYSTEM_arm_armv6zk
-DARCH_arm -DCPUTYPE_armv6zk -DL4API_  -D_GNU_SOURCE
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/bootstrap/server/src
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/bootstrap/server/src/ARCH-arm

-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/pkg/bootstrap/idl/OBJ-arm-
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/include/arm
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/include
-nostdinc
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/include/arm/uclibc
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/include/uclibc
-I/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/include/contrib/libstdc++-v3
 -I/home/rahul/crosstools/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include
-I/home/rahul/crosstools/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include-fixed
-DBUILD_DATE="\"Mon Apr  4 10:53:33 EDT 2011\"" -DBUILD_NR=\"2\" -fno-rtti
-fno-exceptions -fno-threadsafe-statics        -g -Os  -march=armv6zk
 -march=armv6zk -Wextra -Wall  -fno-common -fno-stack-protector
/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/bootstrap/server/src/startup.cc
-o startup.o
arm-none-linux-gnueabi-g++: Apr: No such file or directory
arm-none-linux-gnueabi-g++: 4: No such file or directory
arm-none-linux-gnueabi-g++: 10:53:33: No such file or directory
arm-none-linux-gnueabi-g++: EDT: No such file or directory
arm-none-linux-gnueabi-g++: 2011": No such file or directory
<command-line>: warning: missing terminating " character
/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/bootstrap/server/src/startup.cc:1054:
error: missing terminating " character
make: *** [startup.o] Error 1


The error still persists. I will now try to build the whole thing with the
codesourcery toolchain and see if i run into the same error. The toolchain I
am currently using is (
http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.3.2.tgz). Is it
possible  that its a gcc version issue ?

Thanks
Rahul


On Fri, Apr 1, 2011 at 8:47 AM, Adam Lackorzynski <adam at os.inf.tu-dresden.de
> wrote:

> Hi,
>
> On Thu Mar 31, 2011 at 18:50:45 -0400, Rahul Ramasubramanian wrote:
> > I was trying to build l4re and ran into rather strange compilation
>  errors.
> > The code where the error is trowing up is in
> > ../src/l4/pkg/bootstrap/server/src/startup.cc
> >
> >
> > The relevant part of the error log looks like
> > `/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/libkproxy'
> > arm-none-linux-gnueabi-g++: Mar: No such file or directory
> > arm-none-linux-gnueabi-g++: 31: No such file or directory
> > arm-none-linux-gnueabi-g++: 18:28:52: No such file or directory
> > arm-none-linux-gnueabi-g++: EDT: No such file or directory
> > arm-none-linux-gnueabi-g++: 2011": No such file or directory
> > <command-line>: warning: missing terminating " character
> >
> /home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/pkg/bootstrap/server/src/startup.cc:1054:
> > error: missing terminating " character
> >
> [/home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/pkg/bootstrap/server/src/OBJ-arm_armv6zk]
>
> Now that's strange. I would be interested to know what actually happens
> there. Could you go to
>
> /home/rahul/newbuild_17_3_11/x86droid/l4Build/src/l4/l4rebuild/pkg/bootstrap/server/src/OBJ-arm_armv6zk
> and do a 'make V=1 startup.o' and show me the call to gcc and maybe the
> startup.i generated by 'make startup.i' would also be interesting, if it
> works at all.
> For the toolchain, the one from codesourcery.com works well
> (currently: http://www.codesourcery.com/sgpp/lite/arm/portal/release1600).
>
>
>
> Adam
> --
> Adam                 adam at os.inf.tu-dresden.de
>  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20110404/0af5d611/attachment.html>


More information about the l4-hackers mailing list