error: C compiler cannot create executables

Doug Crawford dcraw101@yahoo.com
Fri Sep 10 15:48:00 GMT 2010



Sorry about that.  Here is the relevant portion of the config.log and I have 
attached the complete 
"targets/powerpc-860-linux-uclibc/build/build-cc/powerpc-860-linux-uclibc/libgomp/config.log". 
 As I mentioned before, this output is for a gcc 4.5.1 build with uclibc.  I 
will check if it is the same error when building gcc 4.3.4.  But, gcc 4.4.3 
works just fine.

configure:3658: checking for C compiler default output file name
configure:3680: 
/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/xgcc
-B/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/
/ 
-B/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/bin/ 
-B/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/lib/ 
-isystem 
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/include 
-isystem 
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/sys-include   
 -g -Os   conftest.c  >&5
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/bin/ld: 
a.out: hidden symbol `_restgpr_31_x' in 
/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/libgcc.a(crtresxgpr.o)
 is referenced by DSO
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/bin/ld: 
final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
configure:3684: $? = 1
configure:3721: result: 
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMPRuntime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMPRuntime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3727: error: in 
`/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/powerpc-860-linux-uclibc/libgomp':

configure:3731: error: C compiler cannot create executables
See `config.log' for more details.

Thanks, 
Doug


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 17566 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100910/2aa796b6/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list