Bug 62476

Summary: Problem compiling liboil 0.3.16 cross compiling 0.3.9 vs 0.3.17
Product: liboil Reporter: Daniel Doron <danielmeirdoron>
Component: unknownAssignee: David Schleef <ds>
Status: NEW --- QA Contact: David Schleef <ds>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: make output

Description Daniel Doron 2013-03-18 15:08:32 UTC
Created attachment 76684 [details]
make output

./configure --host=arm-linux  --build=i686-linux CC=/opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc --prefix=$(pwd)/linux-arm-install --disable-static --disable-glib CFLAGS="-march=armv7-a -mtune=cortex-a8"

same for both version. 

with version 0.3.9 - no problem with make
with version 0.3.17: (see attached for full make log)

libtool: link: ranlib .libs/liboilfunctions.a
libtool: link: rm -fr .libs/liboilfunctions.lax
libtool: link: ( cd ".libs" && rm -f "liboilfunctions.la" && ln -s "../liboilfunctions.la" "liboilfunctions.la" )
/bin/sh ../libtool --tag=CC   --mode=link /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc  -march=armv7-a -mtune=cortex-a8 -no-undefined -export-symbols-regex 'oil_'  -o liboiltmp1.la -rpath /home/robin/Daniel/IDT-projects/IDT-Gate/build-tools/liboil-0.3.17/linux-arm-install/lib liboiltmp.lo liboilfunctions.la -lm -lrt 
libtool: link: link -dump -symbols  .libs/liboiltmp.o   ./.libs/liboilfunctions.a |  | /bin/sed 's/.* //' | sort | uniq > .libs/liboiltmp1.exp
../libtool: eval: line 950: syntax error near unexpected token `|'
../libtool: eval: line 950: `link -dump -symbols  .libs/liboiltmp.o   ./.libs/liboilfunctions.a |  | /bin/sed 's/.* //' | sort | uniq > .libs/liboiltmp1.exp'
make[3]: *** [liboiltmp1.la] Error 2
make[3]: Leaving directory `/home/robin/Daniel/IDT-projects/IDT-Gate/build-tools/liboil-0.3.17/liboil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/robin/Daniel/IDT-projects/IDT-Gate/build-tools/liboil-0.3.17/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robin/Daniel/IDT-projects/IDT-Gate/build-tools/liboil-0.3.17'
make: *** [all] Error 2

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.