public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Building toolchain with crosstool-ng on Mac OS X SL
@ 2009-12-29 12:33 Vladyslav
  2009-12-29 17:56 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Vladyslav @ 2009-12-29 12:33 UTC (permalink / raw)
  To: crossgcc


Hi

I am trying to build toolchain for Linux on Mac.

I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU soft from MacPorts and my partition is already case-sensitive). However when I try to build i get a lot of errors in shell files that looks like:


ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 250 in function 'CT_OnError'
[ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 116 in function 'CT_DoExecLog'
[ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 254 in function 'CT_DoForceRmdir'
[ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 201 in function 'main'
[ERROR]  Look at '/opt/ct-ng/i386-unknown-linux-gnu/build.log' for more info on this error.

Considering that I get a lot of this same errors on different ct-ng shell scripts I think i missed something obvious. But I double checked configuration and cant determine cause of this problems.

Best reagards,
Vladyslav

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2009-12-29 12:33 Building toolchain with crosstool-ng on Mac OS X SL Vladyslav
@ 2009-12-29 17:56 ` Yann E. MORIN
  2010-01-05 19:42   ` Vladyslav
  0 siblings, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2009-12-29 17:56 UTC (permalink / raw)
  To: crossgcc; +Cc: Vladyslav

Hello Vladyslav!
Hello All!

On Tuesday 29 December 2009 13:33:41 Vladyslav wrote:
> I am trying to build toolchain for Linux on Mac.

Well, MacOS-X is tricky. I do not have it, so I relied on others' feedback.
Hence there may be problems with it...

> I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU
> soft from MacPorts and my partition is already case-sensitive).

If you have Ports installed, then you should be fine using crosstool-NG as
you would on any othe Unix.

> However 
> when I try to build i get a lot of errors in shell files that looks like:  
> ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 250 in function 'CT_OnError'
> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 116 in function 'CT_DoExecLog'
> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 254 in function 'CT_DoForceRmdir'
> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 201 in function 'main'
> [ERROR]  Look at '/opt/ct-ng/i386-unknown-linux-gnu/build.log' for more info on this error.

The build.log file contains the full log. The excerpt you quoted is not
enough to understand what happened. If build.log is bigger than 100KiB,
then send it compressed (with bzip2 or xz/lzma).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2009-12-29 17:56 ` Yann E. MORIN
@ 2010-01-05 19:42   ` Vladyslav
  2010-01-05 21:10     ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Vladyslav @ 2010-01-05 19:42 UTC (permalink / raw)
  To: crossgcc; +Cc: Yann E. MORIN

[-- Attachment #1: Type: text/plain, Size: 112 bytes --]

Hello,

Sorry for the delay, I was on vacation.
Compressed build log is attached.

With best regards,
Vladyslav

[-- Attachment #2: build.log.bz2 --]
[-- Type: application/x-bzip2, Size: 347922 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2052 bytes --]


On Dec 29, 2009, at 7:56 PM, Yann E. MORIN wrote:

> Hello Vladyslav!
> Hello All!
> 
> On Tuesday 29 December 2009 13:33:41 Vladyslav wrote:
>> I am trying to build toolchain for Linux on Mac.
> 
> Well, MacOS-X is tricky. I do not have it, so I relied on others' feedback.
> Hence there may be problems with it...
> 
>> I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU
>> soft from MacPorts and my partition is already case-sensitive).
> 
> If you have Ports installed, then you should be fine using crosstool-NG as
> you would on any othe Unix.
> 
>> However 
>> when I try to build i get a lot of errors in shell files that looks like:  
>> ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 250 in function 'CT_OnError'
>> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 116 in function 'CT_DoExecLog'
>> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 254 in function 'CT_DoForceRmdir'
>> [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 201 in function 'main'
>> [ERROR]  Look at '/opt/ct-ng/i386-unknown-linux-gnu/build.log' for more info on this error.
> 
> The build.log file contains the full log. The excerpt you quoted is not
> enough to understand what happened. If build.log is bigger than 100KiB,
> then send it compressed (with bzip2 or xz/lzma).
> 
> Regards,
> Yann E. MORIN.
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> `------------------------------^-------^------------------^--------------------'
> 
> 



[-- Attachment #4: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2010-01-05 19:42   ` Vladyslav
@ 2010-01-05 21:10     ` Yann E. MORIN
  2010-01-06  8:16       ` Vladyslav
  0 siblings, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2010-01-05 21:10 UTC (permalink / raw)
  To: crossgcc; +Cc: Vladyslav

Hello Vladyslav !
Hell All!

On Tuesday 05 January 2010 20:41:45 Vladyslav wrote:
> Sorry for the delay, I was on vacation.
> Compressed build log is attached.

From your buid log, it appears that you are using crostool-NG 1.4.2.
That version was not supposed to work properly on MacOS-X. Also, the file
you refer to, docs/MacOS-X.txt, was not present in that version,and only
appeared in the 1.5 series.

Also, you seem to be using /old/ versions:
 - linux-2.6.21 for the headers
 - gcc-4.1.2
 - glibc-2.3.6
Can't you update those versions ?

The tools you use on your host seem to behave strangely... Could you
please run the following tests:
  bash --version
  date --version
  sed --version
  tar --version
  gcc --version
  which printf

Please upgrade to 1.5.2, which should, hopefully, behave better on MacOS-X.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2010-01-05 21:10     ` Yann E. MORIN
@ 2010-01-06  8:16       ` Vladyslav
  2010-01-06  8:35         ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Vladyslav @ 2010-01-06  8:16 UTC (permalink / raw)
  To: crossgcc; +Cc: Yann E. MORIN

[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

Hi Yann,

On Jan 5, 2010, at 11:09 PM, Yann E. MORIN wrote:

> From your buid log, it appears that you are using crostool-NG 1.4.2.
> That version was not supposed to work properly on MacOS-X. Also, the file
> you refer to, docs/MacOS-X.txt, was not present in that version,and only
> appeared in the 1.5 series.
Thats true, i just downloaded exact version Blair Burtan used when he wrote MacOS-X.txt because i wanted to determine wherever build on MacOS was broken on later versions of ct-ng or there is a problem with my setup. Of course i tried to compile under ct-ng 1.5.2 with same results(I attached log for ct-ng 1.5.2 compilation with kernel, gcc and glibc versions that are not experimental or outdated).

> 
> Also, you seem to be using /old/ versions:
> - linux-2.6.21 for the headers
> - gcc-4.1.2
> - glibc-2.3.6
> Can't you update those versions ?
See log attached to this mail.

> The tools you use on your host seem to behave strangely... Could you
> please run the following tests:
>  bash --version
>  date --version
>  sed --version
>  tar --version
>  gcc --version
>  which printf
$ bash --version
GNU bash, version 4.0.35(2)-release (i386-apple-darwin10.2.0)
#I have tried to compile on standard MacOS bash 3.something then installed newer version from ports and got same results.

$ date --version
date: illegal option -- -
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
#I have read the manual and still cant determine how to print version of this thing... :)

$ sed --version
GNU sed version 4.2.1

$ tar --version
bsdtar 2.6.2 - libarchive 2.6.2

$gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)

$ which printf
/usr/bin/printf

Best regards,
Vladyslav

[-- Attachment #2: build.log.bz2 --]
[-- Type: application/x-bzip2, Size: 577017 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




[-- Attachment #4: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2010-01-06  8:16       ` Vladyslav
@ 2010-01-06  8:35         ` Yann E. MORIN
  2010-01-06  9:09           ` Vladyslav
  0 siblings, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2010-01-06  8:35 UTC (permalink / raw)
  To: Vladyslav; +Cc: crossgcc

Vladyslav, All,

On Wednesday 06 January 2010 09:15:37 Vladyslav wrote:
> Thats true, i just downloaded exact version Blair Burtan used when he
> wrote MacOS-X.txt because i wanted to determine wherever build on
> MacOS was broken on later versions of ct-ng or there is a problem
> with my setup. Of course i tried to compile under ct-ng 1.5.2 with
> same results(I attached log for ct-ng 1.5.2 compilation with kernel,
> gcc and glibc versions that are not experimental or outdated).

123070  [ALL  ]  checking compiler cc  -pipe -fexceptions ... yes
123071  [ALL  ]  checking compiler cc  -pipe -fexceptions has sizeof(long)==4... no
123072  [ERROR]  configure: error: could not find a working compiler, see config.log for details
123073  [ERROR]  Build failed in step 'Installing GMP'

Oh, I guess the initial ERROR starts here... Could you check the GMP
config.log and see why it fails ?

Then it goes on:

123073  [ERROR]  Build failed in step 'Installing GMP'
123074  [ERROR]  Error happened in '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
123075  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/build/companion_libs/gmp.sh' at line # 33 in function 'do_gmp'
123076  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 544 in function 'CT_OnError'
123077  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 133 in function 'CT_OnError'
123078  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 120 in function 'CT_DoExecLog'
123079  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 37 in function 'CT_DoEnd'
[--SNIP--]
123109  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 228 in function 'CT_Pushd'
123110  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 610 in function 'CT_Patch'
123111  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 22 in function 'CT_OnError'
123112  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 133 in function 'CT_OnError'
123113  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 120 in function 'CT_DoExecLog'
123114  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/functions' at line # 565 in function 'CT_Extract'
123115  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/build/companion_libs/mpfr.sh' at line # 21 in function 'do_mpfr_extract'
123116  [ERROR]        called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scripts/crosstool-NG.sh' at line # 509 in function 'main'
123117  [ERROR]  Look at '/Users/xxx/x-tools/i386-unknown-linux-gnu/build.log' for more info on this error.

Whooo... That's weird: the 'CT_Extract', 'CT_Patch' should not show up, as
those steps are finished. Somehow, your bash failed at managing the functions
traceback stack, notably, poping out the function names on exit...

> > The tools you use on your host seem to behave strangely... Could you
> $ bash --version
> GNU bash, version 4.0.35(2)-release (i386-apple-darwin10.2.0)
> #I have tried to compile on standard MacOS bash 3.something then
> installed newer version from ports and got same results.

gcc-4.0 should be OK.

> $ date --version
> date: illegal option -- -
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
>             [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
> #I have read the manual and still cant determine how to print version of this thing... :)

Well, NOK, but not a big issue: timings will be wrong in the logs.

> $ tar --version
> bsdtar 2.6.2 - libarchive 2.6.2

Ah, this is not GNU tar, hence the different behavior at extract time.
But should not be a big issue, I guess bsdtar correctly handles tarballs.

> $gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)

Seems OK, but I don't know how gcc behaves on MacOS-X...

> $ which printf
> /usr/bin/printf

OK.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Building toolchain with crosstool-ng on Mac OS X SL
  2010-01-06  8:35         ` Yann E. MORIN
@ 2010-01-06  9:09           ` Vladyslav
  0 siblings, 0 replies; 7+ messages in thread
From: Vladyslav @ 2010-01-06  9:09 UTC (permalink / raw)
  To: crossgcc; +Cc: Yann E. MORIN

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

Yann,

On Jan 6, 2010, at 10:35 AM, Yann E. MORIN wrote:

> 123070  [ALL  ]  checking compiler cc  -pipe -fexceptions ... yes
> 123071  [ALL  ]  checking compiler cc  -pipe -fexceptions has sizeof(long)==4... no
> 123072  [ERROR]  configure: error: could not find a working compiler, see config.log for details
> 123073  [ERROR]  Build failed in step 'Installing GMP'
> 
> Oh, I guess the initial ERROR starts here... Could you check the GMP
> config.log and see why it fails ?
I know why configure script cant find working compiler with sizeof(long)==4: in Snow Leopard Apple changed default GCC behavior to emit 64bit binaries. My small test confirms that sizeof(long) and sizeof(long*) are now 8 bytes.

I've attached GMP config.log to this mail.

Regards,
Vladyslav

[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 15455 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 4.3.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/configure --build=i686-build_apple-darwin10 --host=i686-build_apple-darwin10 --prefix=/Users/xxx/x-tools/i386-unknown-linux-gnu --enable-shared --disable-static --enable-fft --enable-mpbsd --enable-cxx

## --------- ##
## Platform. ##
## --------- ##

hostname = ycombinator.local
uname -m = i386
uname -r = 10.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
	 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 85 tasks, 368 threads, 2 processors
Load average: 0.95, Mach factor: 1.20
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/xxx/x-tools/i386-unknown-linux-gnu/buildtools
PATH: /Users/xxx/x-tools/i386-unknown-linux-gnu/bin
PATH: /Users/xxx/tmp/crosstool-ng-1.5.2/targets/i386-unknown-linux-gnu/build/gcc-core-shared/bin
PATH: /Users/xxx/tmp/crosstool-ng-1.5.2/targets/i386-unknown-linux-gnu/build/gcc-core-static/bin
PATH: /Users/xxx/tmp/crosstool-ng-1.5.2/targets/bin
PATH: /opt/local/i386-apple-darwin10.2.0/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1655: checking build system type
configure:1673: result: i686-build_apple-darwin10
configure:1681: checking host system type
configure:1695: result: i686-build_apple-darwin10
configure:1718: checking for a BSD-compatible install
configure:1773: result: /Users/xxx/tmp/crosstool-ng-1.5.2/targets/bin/install -c
configure:1784: checking whether build environment is sane
configure:1827: result: yes
configure:1884: checking for gawk
configure:1900: found /opt/local/bin/gawk
configure:1910: result: gawk
configure:1920: checking whether make sets $(MAKE)
configure:1940: result: yes
configure:2106: checking whether to enable maintainer-specific portions of Makefiles
configure:2115: result: no
User:
ABI=
CC=
CFLAGS= -pipe -fexceptions
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc icc cc
configure:3829: gcc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler gcc  -pipe -fexceptions 
Test compile: 
configure:3900: gcc  -pipe -fexceptions  conftest.c >&5
configure:3903: $? = 0
configure:3908: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3911: $? = 0
Test compile: function pointer return
configure:3954: gcc  -pipe -fexceptions  conftest.c >&5
configure:3957: $? = 0
configure:3962: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3965: $? = 0
Test compile: cmov instruction
configure:4010: gcc  -pipe -fexceptions  conftest.c >&5
configure:4013: $? = 0
configure:4018: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4021: $? = 0
Test compile: double -> ulong conversion
configure:4067: gcc  -pipe -fexceptions  conftest.c >&5
configure:4070: $? = 0
configure:4075: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4078: $? = 0
Test compile: double negation
configure:4122: gcc  -pipe -fexceptions  conftest.c >&5
configure:4125: $? = 0
configure:4130: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4133: $? = 0
Test compile: double -> float conversion
configure:4178: gcc  -pipe -fexceptions  conftest.c >&5
configure:4181: $? = 0
configure:4186: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4189: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:4263: gcc  -pipe -fexceptions  conftest.c >&5
configure:4266: $? = 0
configure:4271: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4274: $? = 0
Test compile: __builtin_alloca availability
configure:4314: gcc  -pipe -fexceptions  conftest.c >&5
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:4317: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:4438: gcc  -pipe -fexceptions  conftest.c >&5
configure:4441: $? = 0
configure:4446: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4449: $? = 0
Test compile: long long reliability test 1
configure:4502: gcc  -pipe -fexceptions  conftest.c >&5
configure:4505: $? = 0
configure:4510: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4513: $? = 0
Test compile: long long reliability test 2
configure:4562: gcc  -pipe -fexceptions  conftest.c >&5
configure:4565: $? = 0
configure:4570: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4573: $? = 0
Test compile: mpn_lshift_com optimization
configure:4661: gcc  -pipe -fexceptions  conftest.c >&5
configure:4664: $? = 0
configure:4669: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4672: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:4769: gcc  -pipe -fexceptions  conftest.c >&5
configure:4772: $? = 0
configure:4777: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4780: $? = 0
Testing gcc GOT with eax emitted
configure:4828: gcc  -pipe -fexceptions  -fPIC -S conftest.c >&5 2>&1
configure:4831: $? = 0
Result: no
configure:4926: result: yes
configure: testlist sizeof-long-4
configure:5101: checking compiler gcc  -pipe -fexceptions has sizeof(long)==4
configure:5114: gcc  -pipe -fexceptions -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:4: error: size of array 'test_array' is negative
configure:5117: $? = 1
configure:5122: result: no
configure:3807: icc -c conftest.c >&5
/Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/configure: line 3808: icc: command not found
configure:3810: $? = 127
configure:3829: icc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler icc  -pipe -fexceptions 
Test compile: 
configure:3900: icc  -pipe -fexceptions  conftest.c >&5
/Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/configure: line 3901: icc: command not found
configure:3903: $? = 127
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:3807: cc -c conftest.c >&5
configure:3810: $? = 0
configure:3813: checking whether cc is gcc
configure:3815: result: yes
configure:3829: cc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler cc  -pipe -fexceptions 
Test compile: 
configure:3900: cc  -pipe -fexceptions  conftest.c >&5
configure:3903: $? = 0
configure:3908: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3911: $? = 0
Test compile: function pointer return
configure:3954: cc  -pipe -fexceptions  conftest.c >&5
configure:3957: $? = 0
configure:3962: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3965: $? = 0
Test compile: cmov instruction
configure:4010: cc  -pipe -fexceptions  conftest.c >&5
configure:4013: $? = 0
configure:4018: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4021: $? = 0
Test compile: double -> ulong conversion
configure:4067: cc  -pipe -fexceptions  conftest.c >&5
configure:4070: $? = 0
configure:4075: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4078: $? = 0
Test compile: double negation
configure:4122: cc  -pipe -fexceptions  conftest.c >&5
configure:4125: $? = 0
configure:4130: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4133: $? = 0
Test compile: double -> float conversion
configure:4178: cc  -pipe -fexceptions  conftest.c >&5
configure:4181: $? = 0
configure:4186: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4189: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:4263: cc  -pipe -fexceptions  conftest.c >&5
configure:4266: $? = 0
configure:4271: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4274: $? = 0
Test compile: __builtin_alloca availability
configure:4314: cc  -pipe -fexceptions  conftest.c >&5
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:4317: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:4438: cc  -pipe -fexceptions  conftest.c >&5
configure:4441: $? = 0
configure:4446: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4449: $? = 0
Test compile: long long reliability test 1
configure:4502: cc  -pipe -fexceptions  conftest.c >&5
configure:4505: $? = 0
configure:4510: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4513: $? = 0
Test compile: long long reliability test 2
configure:4562: cc  -pipe -fexceptions  conftest.c >&5
configure:4565: $? = 0
configure:4570: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4573: $? = 0
Test compile: mpn_lshift_com optimization
configure:4661: cc  -pipe -fexceptions  conftest.c >&5
configure:4664: $? = 0
configure:4669: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4672: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:4769: cc  -pipe -fexceptions  conftest.c >&5
configure:4772: $? = 0
configure:4777: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4780: $? = 0
Testing gcc GOT with eax emitted
configure:4828: cc  -pipe -fexceptions  -fPIC -S conftest.c >&5 2>&1
configure:4831: $? = 0
Result: no
configure:4926: result: yes
configure: testlist sizeof-long-4
configure:5101: checking compiler cc  -pipe -fexceptions has sizeof(long)==4
configure:5114: cc  -pipe -fexceptions -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:4: error: size of array 'test_array' is negative
configure:5117: $? = 1
configure:5122: result: no
configure:5164: error: could not find a working compiler, see config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-build_apple-darwin10
ac_cv_build_alias=i686-build_apple-darwin10
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -pipe -fexceptions'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-build_apple-darwin10
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-build_apple-darwin10
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-build_apple-darwin10
ac_cv_host_alias=i686-build_apple-darwin10
ac_cv_path_install='/Users/xxx/tmp/crosstool-ng-1.5.2/targets/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI=''
ACLOCAL='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run aclocal-1.8'
AMTAR='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
ASMFLAGS=''
AUTOCONF='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run automake-1.8'
AWK='gawk'
BITS_PER_MP_LIMB=''
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC=''
CCAS=''
CC_FOR_BUILD=''
CFLAGS=' -pipe -fexceptions'
CPP=''
CPPFLAGS=''
CPP_FOR_BUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB=''
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
GMP_LDFLAGS=''
GMP_NAIL_BITS='0'
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/missing --run makeinfo'
OBJDUMP=''
OBJEXT=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@gmplib.org'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 4.3.1'
PACKAGE_TARNAME='gmp'
PACKAGE_VERSION='4.3.1'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/opt/local/bin/bash'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_SQR_OBJ=''
U=''
U_FOR_BUILD=''
VERSION='4.3.1'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WANT_MPBSD_FALSE='#'
WANT_MPBSD_TRUE=''
WITH_READLINE_01=''
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='i686-build_apple-darwin10'
build_alias='i686-build_apple-darwin10'
build_cpu='i686'
build_os='darwin10'
build_vendor='build_apple'
datadir='${prefix}/share'
exec_prefix='NONE'
gmp_srclinks=''
host='i686-build_apple-darwin10'
host_alias='i686-build_apple-darwin10'
host_cpu='i686'
host_os='darwin10'
host_vendor='build_apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/xxx/tmp/crosstool-ng-1.5.2/targets/src/gmp-4.3.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(install_sh) -d'
mpn_objects=''
mpn_objs_in_libgmp=''
mpn_objs_in_libmp=''
oldincludedir='/usr/include'
prefix='/Users/xxx/x-tools/i386-unknown-linux-gnu'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_HOST_CPU_i686 1
#define PACKAGE "gmp"
#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org"
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_STRING "GNU MP 4.3.1"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "4.3.1"
#define VERSION "4.3.1"
#define WANT_FFT 1

configure: exit 1

[-- Attachment #3: Type: text/plain, Size: 3 bytes --]





[-- Attachment #4: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-06  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 12:33 Building toolchain with crosstool-ng on Mac OS X SL Vladyslav
2009-12-29 17:56 ` Yann E. MORIN
2010-01-05 19:42   ` Vladyslav
2010-01-05 21:10     ` Yann E. MORIN
2010-01-06  8:16       ` Vladyslav
2010-01-06  8:35         ` Yann E. MORIN
2010-01-06  9:09           ` Vladyslav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).