Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 05, 2004 failed unittest...(phobos) | ||||
---|---|---|---|---|
| ||||
Hello! I suceeded in making gdc with gcc3.4.0 on darwin7.4.0, and tried to make phobos. Making libphobos.a completed smoothly. But unittest, these errors occured. [Macintosh:gcc-3.4.0/build/phobos] root# make unittest gdc -o unittest -g -O2 -nostdinc unittest.o -L./ /usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR /usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR collect2: ld returned 1 exit status make: *** [unittest] Error 1 What shall I do for success in the unittest!?Please help me!! |
October 05, 2004 Re: failed unittest...(phobos) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ozy | Ozy wrote:
> Hello!
> I suceeded in making gdc with gcc3.4.0 on darwin7.4.0,
> and tried to make phobos.
> Making libphobos.a completed smoothly.
> But unittest, these errors occured.
> [Macintosh:gcc-3.4.0/build/phobos] root# make unittest
> gdc -o unittest -g -O2 -nostdinc unittest.o -L./
> /usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type
> S_COALESCED does not match previous objects type S_REGULAR
> /usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type
> S_COALESCED does not match previous objects type S_REGULAR
> collect2: ld returned 1 exit status
> make: *** [unittest] Error 1
> What shall I do for success in the unittest!?Please help me!!
>
This can happen when two different compiler versions are used (e.g. the gcc and g++ used to build Phobos don't match gdc.)
David
|
October 05, 2004 succeed!! | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | thank you very much!! "David Friedman" <d3rdclsmail@earthlink.net> wrote in message news:cjttht$2r2h$1@digitaldaemon.com... > Ozy wrote: > > Hello! > > I suceeded in making gdc with gcc3.4.0 on darwin7.4.0, > > and tried to make phobos. > > Making libphobos.a completed smoothly. > > But unittest, these errors occured. > > [Macintosh:gcc-3.4.0/build/phobos] root# make unittest > > gdc -o unittest -g -O2 -nostdinc unittest.o -L./ > > /usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type > > S_COALESCED does not match previous objects type S_REGULAR > > /usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type > > S_COALESCED does not match previous objects type S_REGULAR > > collect2: ld returned 1 exit status > > make: *** [unittest] Error 1 > > What shall I do for success in the unittest!?Please help me!! > > > > This can happen when two different compiler versions are used (e.g. the gcc and g++ used to build Phobos don't match gdc.) > > David |
Copyright © 1999-2021 by the D Language Foundation