unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Arnaud Gardelein" <arnaud@oscopy.org>
To: 22141@debbugs.gnu.org
Subject: bug#22141: guile-2.1.1 fails with error 134 in ice-9/psyntax-pp.go on cygwin x86_64
Date: Tue, 23 Aug 2016 17:01:54 +0200	[thread overview]
Message-ID: <020446f67310f6f047682583769b6f28.squirrel@somewhere-in-the-space.org> (raw)
In-Reply-To: <e59b204ae345e8d3cdd09300e4e08191.squirrel@somewhere-in-the-space.org>

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

> This sounds like either a limitation in BDW-GC or a misconfiguration of
BDW-GC, or some strange interaction with the pthreads library on cygwin.
 Have you been able to build 2.0.11?  (I ask about 2.0.11 because it has
seen wider and deeper testing.)
> Andy

I tried with a fresh cygwin-x64 install, with gc-7.6.0 and
libatomics_ops-7.4.4, both compiled manually. I made a link from
For 2.0.11 I get the output in the attached log. It seems pthread_attr_t
type is unknown, any hints ?

For the sake of completeness, I tried with 2.1.3.104-8f2f8, here is the
last message, full path stripped:
<snip>
  CC       libguile_2.2_la-weak-set.lo
weak-set.c:165:1: error: conflicting types for 'GC_move_disappearing_link'
 GC_move_disappearing_link (void **from, void **to)
 ^
In file included from ../libguile/bdw-gc.h:47:0,
                 from ../libguile/gc.h:186,
                 from ../libguile/pairs.h:28,
                 from ../libguile/_scm.h:74,
                 from weak-set.c:27:
../gc/gc.h:1147:20: note: previous declaration of
'GC_move_disappearing_link' was here
 GC_API int GC_CALL GC_move_disappearing_link(void ** /* link */,
                    ^
make[3]: *** [Makefile:3314: libguile_2.2_la-weak-set.lo] Error 1
make[3]: Leaving directory '/.../guile-2.1.3.104-8f2f8/libguile'
make[2]: *** [Makefile:2259: all] Error 2
make[2]: Leaving directory '/.../guile-2.1.3.104-8f2f8/libguile'
make[1]: *** [Makefile:1824: all-recursive] Error 1
make[1]: Leaving directory '/.../guile-2.1.3.104-8f2f8'
make: *** [Makefile:1709: all] Error 2
</snip>

Could this be related to a misconfiguration if libgc on my setup ? For
both releases, here is the configure command used:
./configure BDW_GC_CFLAGS=-I../libgc-7.6.0/include
BDW_GC_LIBS=-l:../libgc-7.6.0/libgc.la

Arnaud.


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

make  all-recursive
make[1]: Entering directory '/.../guile-2.0.11'
Making all in lib
make[2]: Entering directory '/.../guile-2.0.11/lib'
make  all-recursive
make[3]: Entering directory '/.../guile-2.0.11/lib'
make[4]: Entering directory '/.../guile-2.0.11/lib'
  CC       binary-io.lo
In file included from /usr/include/sys/signal.h:112:0,
                 from /usr/include/signal.h:6,
                 from ./signal.h:52,
                 from ./sys/select.h:107,
                 from /usr/include/sys/time.h:47,
                 from ./sys/time.h:39,
                 from ./sys/select.h:86,
                 from /usr/include/sys/types.h:68,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/cygwin/signal.h:175:3: error: unknown type name 'pthread_attr_t'
   pthread_attr_t *sigev_notify_attributes; /* notification attributes */
   ^
/usr/include/cygwin/signal.h:210:3: error: unknown type name 'pid_t'
   pid_t si_pid;    /* sender's pid */
   ^
/usr/include/cygwin/signal.h:211:3: error: unknown type name 'uid_t'
   uid_t si_uid;    /* sender's uid */
   ^
/usr/include/cygwin/signal.h:227:2: error: unknown type name 'timer_t'
  timer_t si_tid;   /* timer id */
  ^
/usr/include/cygwin/signal.h:235:7: error: unknown type name 'clock_t'
       clock_t si_utime;   /* user time */
       ^
/usr/include/cygwin/signal.h:236:7: error: unknown type name 'clock_t'
       clock_t si_stime;   /* system time */
       ^
/usr/include/cygwin/signal.h:408:21: error: expected ')' before 'int'
 int sigqueue(pid_t, int, const union sigval);
                     ^
In file included from /usr/include/sys/types.h:20:0,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/sys/signal.h:171:5: error: expected ')' before 'int'
 int _EXFUN(kill, (pid_t, int));
     ^
/usr/include/sys/signal.h:174:5: error: expected ')' before 'int'
 int _EXFUN(killpg, (pid_t, int));
     ^
/usr/include/sys/signal.h:202:5: error: unknown type name 'pthread_t'
 int _EXFUN(pthread_kill, (pthread_t thread, int sig));
     ^
/usr/include/sys/signal.h:217:5: error: unknown type name 'pid_t'
 int _EXFUN(sigqueue, (pid_t pid, int signo, const union sigval value));
     ^
In file included from ./sys/time.h:39:0,
                 from ./sys/select.h:86,
                 from /usr/include/sys/types.h:68,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/sys/time.h:104:34: error: unknown type name 'u_int'
 bintime_mul(struct bintime *_bt, u_int _x)
                                  ^
/usr/include/sys/time.h:145:17: error: unknown type name 'sbintime_t'
 sbintime_getsec(sbintime_t _sbt)
                 ^
/usr/include/sys/time.h:151:17: error: unknown type name 'sbintime_t'
 static __inline sbintime_t
                 ^
/usr/include/sys/time.h: In function 'bttosbt':
/usr/include/sys/time.h:155:12: error: 'sbintime_t' undeclared (first use in this function)
  return (((sbintime_t)_bt.sec << 32) + (_bt.frac >> 32));
            ^
/usr/include/sys/time.h:155:12: note: each undeclared identifier is reported only once for each function it appears in
/usr/include/sys/time.h:155:23: error: expected ')' before '_bt'
  return (((sbintime_t)_bt.sec << 32) + (_bt.frac >> 32));
                       ^
/usr/include/sys/time.h: At top level:
/usr/include/sys/time.h:159:9: error: unknown type name 'sbintime_t'
 sbttobt(sbintime_t _sbt)
         ^
/usr/include/sys/time.h:218:9: error: unknown type name 'sbintime_t'
 sbttots(sbintime_t _sbt)
         ^
/usr/include/sys/time.h:227:17: error: unknown type name 'sbintime_t'
 static __inline sbintime_t
                 ^
/usr/include/sys/time.h: In function 'tstosbt':
/usr/include/sys/time.h:231:12: error: 'sbintime_t' undeclared (first use in this function)
  return (((sbintime_t)_ts.tv_sec << 32) +
            ^
/usr/include/sys/time.h:231:23: error: expected ')' before '_ts'
  return (((sbintime_t)_ts.tv_sec << 32) +
                       ^
/usr/include/sys/time.h: At top level:
/usr/include/sys/time.h:236:9: error: unknown type name 'sbintime_t'
 sbttotv(sbintime_t _sbt)
         ^
/usr/include/sys/time.h:245:17: error: unknown type name 'sbintime_t'
 static __inline sbintime_t
                 ^
/usr/include/sys/time.h: In function 'tvtosbt':
/usr/include/sys/time.h:249:12: error: 'sbintime_t' undeclared (first use in this function)
  return (((sbintime_t)_tv.tv_sec << 32) +
            ^
/usr/include/sys/time.h:249:23: error: expected ')' before '_tv'
  return (((sbintime_t)_tv.tv_sec << 32) +
                       ^
In file included from /usr/include/sys/types.h:20:0,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/time.h: At top level:
/usr/include/time.h:52:12: error: expected ',' or ';' before 'clock'
 clock_t    _EXFUN(clock,    (void));
            ^
In file included from /usr/include/time.h:158:0,
                 from ./time.h:39,
                 from /usr/include/sys/time.h:268,
                 from ./sys/time.h:39,
                 from ./sys/select.h:86,
                 from /usr/include/sys/types.h:68,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/cygwin/time.h:17:38: error: expected ')' before 'struct'
 int __cdecl clock_setres (clockid_t, struct timespec *);
                                      ^
In file included from /usr/include/sys/types.h:20:0,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/time.h:171:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_settime, (clockid_t clock_id, const struct timespec *tp));
     ^
/usr/include/time.h:172:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_gettime, (clockid_t clock_id, struct timespec *tp));
     ^
/usr/include/time.h:173:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_getres,  (clockid_t clock_id, struct timespec *res));
     ^
/usr/include/time.h:177:5: error: unknown type name 'clockid_t'
 int _EXFUN(timer_create,
     ^
/usr/include/time.h:177:5: error: unknown type name 'timer_t'
 int _EXFUN(timer_create,
     ^
/usr/include/time.h:184:5: error: unknown type name 'timer_t'
 int _EXFUN(timer_delete, (timer_t timerid));
     ^
/usr/include/time.h:188:5: error: unknown type name 'timer_t'
 int _EXFUN(timer_settime,
     ^
/usr/include/time.h:192:5: error: unknown type name 'timer_t'
 int _EXFUN(timer_gettime, (timer_t timerid, struct itimerspec *value));
     ^
/usr/include/time.h:193:5: error: unknown type name 'timer_t'
 int _EXFUN(timer_getoverrun, (timer_t timerid));
     ^
/usr/include/time.h:210:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_nanosleep,
     ^
/usr/include/time.h:285:5: error: unknown type name 'pid_t'
 int _EXFUN(clock_getcpuclockid, (pid_t pid, clockid_t *clock_id));
     ^
/usr/include/time.h:285:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_getcpuclockid, (pid_t pid, clockid_t *clock_id));
     ^
/usr/include/time.h:293:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_setenable_attr, (clockid_t clock_id, int attr));
     ^
/usr/include/time.h:294:5: error: unknown type name 'clockid_t'
 int _EXFUN(clock_getenable_attr, (clockid_t clock_id, int *attr));
     ^
In file included from ./sys/types.h:27:0,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/sys/types.h:123:19: error: 'clock_t' redeclared as different kind of symbol
 typedef _CLOCK_T_ clock_t;
                   ^
In file included from ./time.h:39:0,
                 from /usr/include/sys/time.h:268,
                 from ./sys/time.h:39,
                 from ./sys/select.h:86,
                 from /usr/include/sys/types.h:68,
                 from ./sys/types.h:27,
                 from ./fcntl.h:50,
                 from binary-io.h:22,
                 from binary-io.c:3:
/usr/include/time.h:52:1: note: previous declaration of 'clock_t' was here
 clock_t    _EXFUN(clock,    (void));
 ^
make[4]: *** [Makefile:2061: binary-io.lo] Error 1
make[4]: Leaving directory '/.../guile-2.0.11/lib'
make[3]: *** [Makefile:2082: all-recursive] Error 1
make[3]: Leaving directory '/.../guile-2.0.11/lib'
make[2]: *** [Makefile:1833: all] Error 2
make[2]: Leaving directory '/.../guile-2.0.11/lib'
make[1]: *** [Makefile:1821: all-recursive] Error 1
make[1]: Leaving directory '/.../guile-2.0.11'
make: *** [Makefile:1706: all] Error 2

  parent reply	other threads:[~2016-08-23 15:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 16:50 bug#22141: guile-2.1.1 fails with error 134 in ice-9/psyntax-pp.go on cygwin x86_64 Arnaud Gardelein
2016-06-24 17:56 ` Andy Wingo
2016-08-23 15:01 ` Arnaud Gardelein [this message]
2017-02-28 14:36   ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=020446f67310f6f047682583769b6f28.squirrel@somewhere-in-the-space.org \
    --to=arnaud@oscopy.org \
    --cc=22141@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).