bugattr - Bugs: bug #41151, configure fails on some...

 
 

bug #41151: configure fails on some architectures - C compiler cannot create executables

Submitted by:  Vicente Olivert Riera <vriera>
Submitted on:  Wed 08 Jan 2014 05:32:08 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 10 Jan 2014 05:14:46 PM UTC, comment #4:

Mike is right, I have found that the toolchain was broken, sorry.

Please close this bug. Thank you!

Vicente Olivert Riera <vriera>
Fri 10 Jan 2014 01:48:27 PM UTC, comment #3:

this is not a bug in attr. the OP's toolchain is broken and they need to fix it themselves.

Mike Frysinger <vapier>
Project Member
Thu 09 Jan 2014 10:53:36 AM UTC, comment #2:

Hello Andreas,

I don't know what you need to do. Maybe something is missing in the configure script that makes the wrong compiler being selected or something like that...

Vicente Olivert Riera <vriera>
Wed 08 Jan 2014 07:05:58 PM UTC, comment #1:

What am I supposed to do about this problem?

Andreas Gruenbacher <agruen>
Project Administrator
Wed 08 Jan 2014 05:32:08 PM UTC, original submission:

Trying on MIPS IV architecture:

### build log ###

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-doc,
--disable-docs, --disable-documentation, --with-xmlto, --with-fop,
--enable-ipv6
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mips-buildroot-linux-gnu
checking how to print strings... printf
checking for mips-buildroot-linux-gnu-gcc...
/home/test/test/1/output/host/usr/bin/mips-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/home/test/test/1/output/build/attr-2.4.47':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [/home/test/test/1/output/build/attr-2.4.47/.stamp_configured] Error
77

### config.log ###

configure:2704: checking whether the C compiler works
configure:2726:
/home/ldap/vriera/work/buildroot/output/host/usr/bin/mips-linux-gnu-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c

>&5

/home/ldap/vriera/work/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.3/../../../../mips-linux-gnu/bin/ld:
/tmp/cckmmLwe.o: linking mips:4000 module with previous mips:isa32r2 modules
/home/ldap/vriera/work/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.3/../../../../mips-linux-gnu/bin/ld:
failed to merge target specific data of file /tmp/cckmmLwe.o
collect2: error: ld returned 1 exit status
configure:2730: $? = 1
configure:2768: result: no

------------
This message suggest that some bits were compiled with -march=r4000 and others with -march=mips32r2 (or something similar) and the linker is unable to link objects files compiled for different ISAs

Vicente Olivert Riera <vriera>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vapier (Posted a comment)
  • -unavailable- added by agruen (Posted a comment)
  • -unavailable- added by vriera (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Jan 2014 12:47:04 PM UTCagruenStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1