* Bootstrap broken on Cygwin
@ 2010-11-18 20:55 Angelo Graziosi
0 siblings, 0 replies; 5+ messages in thread
From: Angelo Graziosi @ 2010-11-18 20:55 UTC (permalink / raw)
To: Emacs
After recent changes [*] to 'strftime', the bootstrap of trunk is broken
on Cygwin. For example, with rev. 102432:
[...]
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/tmp/emacs/src -D_REENTRANT
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/freetype2 -D_REENTRANT -I/usr/include/librsvg-2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -fopenmp
-I/usr/include/ImageMagick -I/usr/include/libxml2
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1
-D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MMD -MF
deps/strftime.d -Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement -Wno-pointer-sign -g -O2
/tmp/emacs/src/strftime.c
/tmp/emacs/src/strftime.c:58: warning: ‘_tzname’ redeclared without
dllimport attribute: previous dllimport ignored
/tmp/emacs/src/strftime.c: In function ‘nstrftime’:
/tmp/emacs/src/strftime.c:469: warning: implicit declaration of function
‘_strftime_copytm’
/tmp/emacs/src/strftime.c: At top level:
/tmp/emacs/src/strftime.c:483: error: conflicting types for
‘_strftime_copytm’
/tmp/emacs/src/strftime.c:469: error: previous implicit declaration of
‘_strftime_copytm’ was here
make[1]: *** [strftime.o] Error 1
make[1]: Leaving directory `/tmp/emacs/Work/src'
make: *** [src] Error 2
Ciao,
Angelo.
---
[*]
2010-11-16 Dan Nicolaescu <dann@ics.uci.edu>
* strftime.c (LOCALE_PARAM_DECL): Update for standard C.
[...]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Bootstrap broken on Cygwin
@ 2008-06-13 20:48 Angelo Graziosi
2008-06-14 2:14 ` Jashy
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Angelo Graziosi @ 2008-06-13 20:48 UTC (permalink / raw)
To: emacs-devel
Current trunk fails to bootstrap, on Cygwin, in this way:
[...]
gcc -Wl,--enable-auto-import -Wl,--enable-auto-image-base
-Wl,--enable-runtime-pseudo-reloc -L/usr/X11R6/lib -o temacs ecrt0.o
dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o
coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o
xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o
image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o
filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o
cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o
data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o
lread.o syntax.o unexcw.o bytecode.o process.o callproc.o region-cache.o
sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o
md5.o sheap.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o
gmalloc.o ralloc.o lastfile.o vm-limit.o widget.o mktime.o getloadavg.o
../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM -lICE
-lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -L/usr/X11R6/lib
-lXft -lfreetype -lz -lXrender -lX11 -lXext -lfontconfig -lexpat
-lresolv -lcurses -lg `gcc -print-libgcc-file-name` -lm -lc `gcc
-print-libgcc-file-name`
sysdep.o: In function `serial_configure':
/work/emacs/src/sysdep.c:5436: undefined reference to `_cfmakeraw'
/work/emacs/src/sysdep.c:5450: undefined reference to `_cfsetspeed'
collect2: ld returned 1 exit status
make[2]: *** [temacs.exe] Error 1
make[2]: Leaving directory `/work/build/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/work/build'
make: *** [bootstrap] Error 2
Could these changes (today)
2008-06-13 Daniel Engeler
These changes add serial port access.
[...]
* sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure):
New functions.
[...]
be the cause?
Until 24 hours ago it bootstrapped fine.
Hard times for Emacs on Cygwin these days...
Cheers,
Angelo.
---
Tu proverai si' come sa di sale
lo pane altrui, e come e' duro calle
lo scendere e 'l salir per l'altrui scale.
-
DANTE, Paradiso, xvii 58-60
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bootstrap broken on Cygwin
2008-06-13 20:48 Angelo Graziosi
@ 2008-06-14 2:14 ` Jashy
2008-06-14 3:29 ` Evil Boris
2008-06-15 0:25 ` Angelo Graziosi
2 siblings, 0 replies; 5+ messages in thread
From: Jashy @ 2008-06-14 2:14 UTC (permalink / raw)
To: Emacs-devel
247,250d246
< #if defined(__CYGWIN__)
< void cfmakeraw(struct termios *);
< #endif /* defined(__CYGWIN__) */
<
5454,5456c5450
< err = cfsetispeed(&attr, XINT (tem));
< err = err + cfsetospeed(&attr, XINT (tem));
<
---
> err = cfsetspeed (&attr, XINT (tem));
5587,5598d5580
< #if defined(__CYGWIN__)
< /* Workaround for Cygwin, which is missing cfmakeraw */
< /* Pasted from man page; added in serial.c arbitrarily */
< void cfmakeraw(struct termios *termios_p)
< {
< termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
|INLCR|IGNCR|ICRNL|IXON);
< termios_p->c_oflag &= ~OPOST;
< termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
< termios_p->c_cflag &= ~(CSIZE|PARENB);
< termios_p->c_cflag |= CS8;
< }
< #endif /* defined(__CYGWIN__) */
Angelo Graziosi-2 wrote:
>
> Current trunk fails to bootstrap, on Cygwin, in this way:
> sysdep.o: In function `serial_configure':
> /work/emacs/src/sysdep.c:5436: undefined reference to `_cfmakeraw'
> /work/emacs/src/sysdep.c:5450: undefined reference to `_cfsetspeed'
>
> Could these changes (today)
>
> 2008-06-13 Daniel Engeler
> These changes add serial port access.
> [...]
> * sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure):
> New functions.
> [...]
>
> be the cause?
>
> Until 24 hours ago it bootstrapped fine.
>
>
> Hard times for Emacs on Cygwin these days...
>
>
--
View this message in context: http://www.nabble.com/Bootstrap-broken-on-Cygwin-tp17831724p17834955.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bootstrap broken on Cygwin
2008-06-13 20:48 Angelo Graziosi
2008-06-14 2:14 ` Jashy
@ 2008-06-14 3:29 ` Evil Boris
2008-06-15 0:25 ` Angelo Graziosi
2 siblings, 0 replies; 5+ messages in thread
From: Evil Boris @ 2008-06-14 3:29 UTC (permalink / raw)
To: emacs-devel
I am getting a possibly related error on Solaris 2.7 with GCC 3.1:
====
sysdep.o: In function `serial_configure':
/local/2/software/emacs-cvs/emacs/src/sysdep.c:5438: undefined reference to `cfmakeraw'
/local/2/software/emacs-cvs/emacs/src/sysdep.c:5451: undefined reference to `cfsetspeed'
collect2: ld returned 1 exit status
====
After some poking around I found that instead of cfsetspeed there is a
definition of cfsetispeed and cfsetospeed in sys/termios.h. I cannot
find any mention of csmakeraw. Here's one place that describes
possible replacement code:
http://www.sunmanagers.org/pipermail/summaries/2005-October/006871.html
--Boris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bootstrap broken on Cygwin
2008-06-13 20:48 Angelo Graziosi
2008-06-14 2:14 ` Jashy
2008-06-14 3:29 ` Evil Boris
@ 2008-06-15 0:25 ` Angelo Graziosi
2 siblings, 0 replies; 5+ messages in thread
From: Angelo Graziosi @ 2008-06-15 0:25 UTC (permalink / raw)
To: evilborisnet; +Cc: emacs-devel
Evil Boris wrote:
> I am getting a possibly related error on Solaris 2.7 with GCC 3.1:
^^^^^^^^
> sysdep.o: In function `serial_configure':
> /local/2/software/emacs-cvs/emacs/src/sysdep.c:5438: undefined
> reference to `cfmakeraw'
> /local/2/software/emacs-cvs/emacs/src/sysdep.c:5451: undefined
> reference to `cfsetspeed'
> collect2: ld returned 1 exit status
For what I can see, they are the same errors I found on Cygwin.
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-18 20:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 20:55 Bootstrap broken on Cygwin Angelo Graziosi
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 20:48 Angelo Graziosi
2008-06-14 2:14 ` Jashy
2008-06-14 3:29 ` Evil Boris
2008-06-15 0:25 ` Angelo Graziosi
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.