[ACTIVITY] 27-31 May 2013

2013-06-03 Thread Christophe Lyon
== Progress ==
* Neon intrisincs: compiled my testsuite with GCC/trunk and filed
bugzilla 57431 for ICE.
* Merges for linaro-4.8-2013.06: started actual merges
  - fixed a cbuild reporting problem
  - faced calxeda and e2c problems, fixed by Matt.
* Jira: a few updates
* Libsanitizer: patched upstream, to be backported in GCC/trunk, then
in gcc-linaro-4.8.


== Next ==
* Merges for linaro-4.8-2013.06: complete them.
* Disable-peeling: resume
* Look at Kugan question about trunk regression
* Libsanitizer/aarch64: resume
* PGO/LTO/python bug: resume
* Neon intrinsics/vzup/vero: resume

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


GCC bootstrap build error with openembedded/v8 model

2013-06-03 Thread Venkataramanan Kumar
Hi all,

I am facing build error, when I try to bootstrap GCC trunk for native
aarch64-unknown-linux-gnu configuration in openemedded/V8 model.

Linker error occurs while building stage 1 GCC.

(Snip)
/usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
gcov: hidden symbol `__deregister_frame_info' in
/usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../aarch64-oe-linux/4.7.3/libgcc_eh.a(unwind-dw2-fde-dip.o)
is referenced by DSO
/usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
final link failed: Bad value
collect2: error: ld returned 1 exit status
(Snip)

The steps to reproduce the issue is attached.
Need some help to solve this.

regards,
Venkat.
Below are the steps to reproduce:

Step 1
--
Download the openembedded image and resize it by adding ~10GB. 

Steps to do that is described here.
https://wiki.linaro.org/WorkingGroups/ToolChain/IncreaseImageSize

I used latest image "vexpress64-openembedded_lamp-armv8_20130526-344.img" at 
http://www.linaro.org/engineering/armv8

Step 2
-- 
Check out GCC trunk
svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc199474

I used trunk revision 199474

Step 3
--
Mount and copy GCC source to /home/root

sudo mount -o loop,offset=54525952 -t ext4
vexpress64-openembedded_lamp-armv8_20130526-344.img  /mnt/temp2

copy the source to /mnt/temp2/home/root

Step 4
--
Start the V8 model and boot openembedded image

./Foundation_v8pkg/Foundation_v8 --image img-foundation.axf
--block-device vexpress64-openembedded_lamp-armv8_20130526-344.img
--network=nat --network-nat-ports=8022=22

Step 5
---
In the xterm window go to /home/root, create a build directory, configure and 
run make.

mkdir build
cd build
../gcc199474/configure  --enable-languages=c,c++ --disable-threads
--disable-libssp --disable-libgomp --disable-libmudflap
--disable-libatomic --without-libquadmath --disable-libquadmath
--prefix=/home/root/install
make

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: GCC bootstrap build error with openembedded/v8 model

2013-06-03 Thread Renato Golin
Hi Venkat,

It looks like this problem:

http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

cheers,
--renato


On 3 June 2013 12:45, Venkataramanan Kumar
wrote:

> Hi all,
>
> I am facing build error, when I try to bootstrap GCC trunk for native
> aarch64-unknown-linux-gnu configuration in openemedded/V8 model.
>
> Linker error occurs while building stage 1 GCC.
>
> (Snip)
> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
> gcov: hidden symbol `__deregister_frame_info' in
>
> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../aarch64-oe-linux/4.7.3/libgcc_eh.a(unwind-dw2-fde-dip.o)
> is referenced by DSO
> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
> final link failed: Bad value
> collect2: error: ld returned 1 exit status
> (Snip)
>
> The steps to reproduce the issue is attached.
> Need some help to solve this.
>
> regards,
> Venkat.
>
> ___
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>
>
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: GCC bootstrap build error with openembedded/v8 model

2013-06-03 Thread Venkataramanan Kumar
Hi Renato,

Thanks for helping out.

I need to explictly link against libgcc_eh.a

GCOV_OBJS = gcov.o
gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS)
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_OBJS) $(LIBS)
-lgcc_eh -o $@
GCOV_DUMP_OBJS = gcov-dump.o
gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS)
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) \
$(LIBS) -lgcc_eh -o $@

Build crossed that error point now.

regards,
Venkat.


On 3 June 2013 17:43, Renato Golin  wrote:
> Hi Venkat,
>
> It looks like this problem:
>
> http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
>
> cheers,
> --renato
>
>
> On 3 June 2013 12:45, Venkataramanan Kumar 
> wrote:
>>
>> Hi all,
>>
>> I am facing build error, when I try to bootstrap GCC trunk for native
>> aarch64-unknown-linux-gnu configuration in openemedded/V8 model.
>>
>> Linker error occurs while building stage 1 GCC.
>>
>> (Snip)
>> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
>> gcov: hidden symbol `__deregister_frame_info' in
>>
>> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../aarch64-oe-linux/4.7.3/libgcc_eh.a(unwind-dw2-fde-dip.o)
>> is referenced by DSO
>> /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld:
>> final link failed: Bad value
>> collect2: error: ld returned 1 exit status
>> (Snip)
>>
>> The steps to reproduce the issue is attached.
>> Need some help to solve this.
>>
>> regards,
>> Venkat.
>>
>> ___
>> linaro-toolchain mailing list
>> linaro-toolchain@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>>
>

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain