public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* RE: compiling sid in cygwin
@ 2002-08-14  6:09 Björn Runåker (QIC)
  2002-09-07  9:41 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Runåker (QIC) @ 2002-08-14  6:09 UTC (permalink / raw)
  To: 'Frank Ch. Eigler'; +Cc: sid

Hello,

Doing: 
./configure --disable-nls
make

Result:
...
[directory sid/component/cgen-cpu]
.libs/impgen /usr/lib/libintl.dll.a > .libs/libintl.dll.a-def
Signal 11
make[6]: ** [libcgencpu.la] Error 139
...

Running last command manually results in segmentation fault.

Running make again get you pass this and it stops when building sid.exe
with following errors: 
../../component/cgen-cpu/.libs/libcgencpu.a(m32r-asm.o): In function 'm32r_cgen_build_insn_regex':
In function 'm32r-asm.c:454: undefined reference to 'xregcomp'
....

Anybody seen this before? 
Suggestions how to solve this?

Regards,

Bjorn


-----Original Message-----
From: Frank Ch. Eigler [mailto:fche@redhat.com]
Sent: Wednesday, August 07, 2002 4:48 PM
To: Björn Runåker (QIC)
Cc: 'sid@sources.redhat.com'
Subject: Re: compiling sid in cygwin


Hi -

On Wed, Aug 07, 2002 at 01:08:16PM +0200, Björn Runåker (QIC) wrote:
> I have problems when compiling sid. 
> I can get ./configure to work [...] but
> make stops when it doesn't find msgfmt.

Yes, sid's neighbouring source trees are fragile with respect to
i18n issues.  Repeat your configure job, this time with "--disable-nls",
and you will have better luck.  An alternative way is to run make with
"MSGFMT=true".


> [...]
> I use latest version of cygwin and latest snapshot of sid.

Sounds good.


- FChE

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

* Re: compiling sid in cygwin
  2002-08-14  6:09 compiling sid in cygwin Björn Runåker (QIC)
@ 2002-09-07  9:41 ` Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2002-09-07  9:41 UTC (permalink / raw)
  To: Björn Runåker (QIC); +Cc: sid

Hi -

> [...] Björn Runåker (QIC) wrote:
> Doing: 
> ./configure --disable-nls
> make
> 
> Result:
> ...
> [directory sid/component/cgen-cpu]
> .libs/impgen /usr/lib/libintl.dll.a > .libs/libintl.dll.a-def
> Signal 11
> make[6]: ** [libcgencpu.la] Error 139

That's unfortunate, but can be worked around by avoiding sid
shared libraries.  Add "--disable-shared" to the configure
option list.  Also, you should create a separate empty build
directory, and run "/..path.to.src../configure ...." there.


> Running make again get you pass this and it stops when building sid.exe
> with following errors: 
> ../../component/cgen-cpu/.libs/libcgencpu.a(m32r-asm.o): In function 'm32r_cgen_build_insn_regex':
> In function 'm32r-asm.c:454: undefined reference to 'xregcomp'
> ....

Try running "make all-bfd all-sid" to force construction of a modern
libiberty (libiberty contains xregex*, and is a prerequisite of all-bfd).


- FChE

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

* Re: compiling sid in cygwin
  2002-08-07  4:11 Björn Runåker (QIC)
@ 2002-08-07  7:48 ` Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2002-08-07  7:48 UTC (permalink / raw)
  To: Björn Runåker (QIC); +Cc: 'sid@sources.redhat.com'

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

Hi -

On Wed, Aug 07, 2002 at 01:08:16PM +0200, Björn Runåker (QIC) wrote:
> I have problems when compiling sid. 
> I can get ./configure to work [...] but
> make stops when it doesn't find msgfmt.

Yes, sid's neighbouring source trees are fragile with respect to
i18n issues.  Repeat your configure job, this time with "--disable-nls",
and you will have better luck.  An alternative way is to run make with
"MSGFMT=true".


> [...]
> I use latest version of cygwin and latest snapshot of sid.

Sounds good.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* compiling sid in cygwin
@ 2002-08-07  4:11 Björn Runåker (QIC)
  2002-08-07  7:48 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Runåker (QIC) @ 2002-08-07  4:11 UTC (permalink / raw)
  To: 'sid@sources.redhat.com'

Hello!

I have problems when compiling sid. 
I can get ./configure to work (seems that the gcc version must be right - version 2.95.3-5 - gets it through configure), but
make stops when it doesn't find msgfmt.

If someone uses sid in cygwin, please tell me how you compiled it and which version of toolchain that works.

I use latest version of cygwin and latest snapshot of sid.

Regards,

Björn

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

end of thread, other threads:[~2002-09-07 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-14  6:09 compiling sid in cygwin Björn Runåker (QIC)
2002-09-07  9:41 ` Frank Ch. Eigler
  -- strict thread matches above, loose matches on Subject: below --
2002-08-07  4:11 Björn Runåker (QIC)
2002-08-07  7:48 ` Frank Ch. Eigler

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).