Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374361 - sys-devel/icecream-0.9.6-r1 don't support "-fPIC, -static, -c -o" checks
Summary: sys-devel/icecream-0.9.6-r1 don't support "-fPIC, -static, -c -o" checks
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 15:47 UTC by Yixun Lan
Modified: 2012-08-23 11:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
here is config log when use icecream distribute cc (config.log,82.91 KB, text/plain)
2011-07-08 01:52 UTC, Yixun Lan
Details
normal config log without invoke icecc, successfully (config_ok.log,62.75 KB, text/plain)
2011-07-08 01:57 UTC, Yixun Lan
Details
sqlite, build log (sqlite_build.log,16.51 KB, text/plain)
2011-07-11 03:59 UTC, Yixun Lan
Details
sqlite, config.log (sqlite_config.log,83.03 KB, text/plain)
2011-07-11 04:00 UTC, Yixun Lan
Details
sqlite, configure file (sqlite_configure,681.11 KB, text/plain)
2011-07-11 04:01 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2011-07-07 15:47:12 UTC
I may report this bug to upstream, but just record here for bug tracking..

after successfully install icecream in pandaboard (arm cortex-a9 hardware)
invoke icecc will generate follow checks results


checking for armv7a-hardfloat-linux-gnueabi-gcc option to produce PIC... -fPIC 
checking if armv7a-hardfloat-linux-gnueabi-gcc PIC flag -fPIC works... no 
checking if armv7a-hardfloat-linux-gnueabi-gcc static flag -static works... no 
checking if armv7a-hardfloat-linux-gnueabi-gcc supports -c -o file.o... no

actually the right one should be 

checking for armv7a-hardfloat-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if armv7a-hardfloat-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if armv7a-hardfloat-linux-gnueabi-gcc static flag -static works... yes
checking if armv7a-hardfloat-linux-gnueabi-gcc supports -c -o file.o... yes



Reproducible: Always

Steps to Reproduce:
1. emerge =sqlite-3.7.7.1 or =udev-171-r1 can reproduce this bug
2.
3.
Comment 1 Rafał Mużyło 2011-07-07 16:39:15 UTC
What's in config.log ?
Comment 2 Yixun Lan archtester gentoo-dev 2011-07-08 01:52:10 UTC
Created attachment 279397 [details]
here is config log when use icecream distribute cc
Comment 3 Yixun Lan archtester gentoo-dev 2011-07-08 01:57:52 UTC
Created attachment 279399 [details]
normal config log without invoke icecc, successfully

are you upstream maintainer?

I looked at http://en.opensuse.org/Icecream
but fail to find who I should report, dig into code of svn repository
find a few nick name, but still don't whom I should send email..
Comment 4 Yixun Lan archtester gentoo-dev 2011-07-11 03:59:58 UTC
Created attachment 279701 [details]
sqlite, build log

also fail when come to compile sqlite, same problem
attached file is build.log, config.log configure files
Comment 5 Yixun Lan archtester gentoo-dev 2011-07-11 04:00:34 UTC
Created attachment 279703 [details]
sqlite, config.log
Comment 6 Yixun Lan archtester gentoo-dev 2011-07-11 04:01:20 UTC
Created attachment 279705 [details]
sqlite, configure file
Comment 7 Yixun Lan archtester gentoo-dev 2011-07-11 10:07:05 UTC
   $rm conftest*

   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   -e 's:$: $lt_compiler_flag:'`
as_me=ice_tst
   (eval echo "\"\$as_me:8062: $lt_compile\"" >&5)
   (eval "$lt_compile" 2>conftest.err)
   ac_status=$?
   cat conftest.err >&5
   echo "$as_me:8066: \$? = $ac_status" >&5
   if (exit $ac_status) && test -s "$ac_outfile"; then
     # The compiler can only warn and ignore the option if not recognized
     # So say no if there are warnings other than the usual output.
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       lt_prog_compiler_pic_works=yes
     fi
   fi
   $rm conftest*

the problem is that I set ICECC_DEBUG="debug", which make it generate a lot info to stder , then make "diff conftest.exp conftest.er2 " fail.
Comment 8 Yixun Lan archtester gentoo-dev 2011-07-11 10:07:36 UTC
set ICECC_DEBUG="info" will suppress the trace info, which fix this problem.
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-23 11:33:10 UTC
I take the point here is not to use ICECC_DEBUG="debug". There's not much I can do here, I'd be best if you contact upstream with this problem.