* libguile/socket.c
@ 2006-02-06 8:43 hyperdivision
2006-02-09 10:10 ` libguile/socket.c Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: hyperdivision @ 2006-02-06 8:43 UTC (permalink / raw)
line 1259 from cvs
libguile/socket.c
size_t c_address_size needs to be set to 0
otherwise gcc4 croaks.
also, i am having no luck getting cvs to work with x86_64
alot of errors and i can't get any of them worked out.
stack overflows, etc.
if you want more specific info i can send the build messages.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-06 8:43 libguile/socket.c hyperdivision
@ 2006-02-09 10:10 ` Neil Jerram
2006-02-09 12:01 ` libguile/socket.c Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2006-02-09 10:10 UTC (permalink / raw)
Cc: bug-guile
hyperdivision@firefly.is-a-geek.org (hyperdivision) writes:
> line 1259 from cvs
> libguile/socket.c
>
> size_t c_address_size needs to be set to 0
> otherwise gcc4 croaks.
I wonder if that's because it's generally concerned about
uninitialized variables, or because it's noticed the apparent bug in
scm_c_make_socket_address, which does nothing with its address_size
parameter and instead has another size_t variable on the stack.
Can you try changing scm_c_make_socket_address to this:
{
struct sockaddr *soka;
soka = scm_fill_sockaddr (scm_to_ushort (family), address, &args, 1,
"scm_c_make_socket_address", &address_size);
return soka;
}
and report whether that solves the problem?
> also, i am having no luck getting cvs to work with x86_64
> alot of errors and i can't get any of them worked out.
> stack overflows, etc.
> if you want more specific info i can send the build messages.
Yes please.
Neil
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-09 10:10 ` libguile/socket.c Neil Jerram
@ 2006-02-09 12:01 ` Ludovic Courtès
2006-02-09 13:43 ` libguile/socket.c Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2006-02-09 12:01 UTC (permalink / raw)
Cc: bug-guile, hyperdivision
Hi,
Neil Jerram <neil@ossau.uklinux.net> writes:
> I wonder if that's because it's generally concerned about
> uninitialized variables, or because it's noticed the apparent bug in
> scm_c_make_socket_address, which does nothing with its address_size
> parameter and instead has another size_t variable on the stack.
It's a bug in `scm_c_make_socket_address ()'. I apologize for this.
> Can you try changing scm_c_make_socket_address to this:
>
> {
> struct sockaddr *soka;
>
> soka = scm_fill_sockaddr (scm_to_ushort (family), address, &args, 1,
> "scm_c_make_socket_address", &address_size);
^^
Here it should read `address_size', not `&address_size'.
Thanks,
Ludovic.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-09 12:01 ` libguile/socket.c Ludovic Courtès
@ 2006-02-09 13:43 ` Neil Jerram
2006-02-09 21:46 ` libguile/socket.c Marius Vollmer
0 siblings, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2006-02-09 13:43 UTC (permalink / raw)
Cc: bug-guile
ludovic.courtes@laas.fr (Ludovic Courtès) writes:
> Hi,
>
> Neil Jerram <neil@ossau.uklinux.net> writes:
>
>> I wonder if that's because it's generally concerned about
>> uninitialized variables, or because it's noticed the apparent bug in
>> scm_c_make_socket_address, which does nothing with its address_size
>> parameter and instead has another size_t variable on the stack.
>
> It's a bug in `scm_c_make_socket_address ()'. I apologize for this.
Thanks for confirming this. I'll make the change in CVS.
>> soka = scm_fill_sockaddr (scm_to_ushort (family), address, &args, 1,
>> "scm_c_make_socket_address", &address_size);
> ^^
> Here it should read `address_size', not `&address_size'.
Indeed, thanks.
Neil
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-09 13:43 ` libguile/socket.c Neil Jerram
@ 2006-02-09 21:46 ` Marius Vollmer
2006-02-10 6:58 ` libguile/socket.c Neil Jerram
2006-02-10 8:37 ` libguile/socket.c Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Marius Vollmer @ 2006-02-09 21:46 UTC (permalink / raw)
Cc: bug-guile
Neil Jerram <neil@ossau.uklinux.net> writes:
> Thanks for confirming this. I'll make the change in CVS.
Please also make this change in the branch_release-1-8 branch if
appropriate.
(I'll make a note so that I don't forget about it myself in case you
can't find time.)
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-09 21:46 ` libguile/socket.c Marius Vollmer
@ 2006-02-10 6:58 ` Neil Jerram
2006-02-10 8:21 ` libguile/socket.c Marius Vollmer
2006-02-10 8:37 ` libguile/socket.c Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2006-02-10 6:58 UTC (permalink / raw)
Cc: bug-guile
Marius Vollmer <mvo@zagadka.de> writes:
> Neil Jerram <neil@ossau.uklinux.net> writes:
>
>> Thanks for confirming this. I'll make the change in CVS.
>
> Please also make this change in the branch_release-1-8 branch if
> appropriate.
Yes, I've done that.
Neil
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-10 6:58 ` libguile/socket.c Neil Jerram
@ 2006-02-10 8:21 ` Marius Vollmer
0 siblings, 0 replies; 8+ messages in thread
From: Marius Vollmer @ 2006-02-10 8:21 UTC (permalink / raw)
Cc: bug-guile
Neil Jerram <neil@ossau.uklinux.net> writes:
> Marius Vollmer <mvo@zagadka.de> writes:
>
>> Please also make this change in the branch_release-1-8 branch if
>> appropriate.
>
> Yes, I've done that.
Thanks!
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: libguile/socket.c
2006-02-09 21:46 ` libguile/socket.c Marius Vollmer
2006-02-10 6:58 ` libguile/socket.c Neil Jerram
@ 2006-02-10 8:37 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2006-02-10 8:37 UTC (permalink / raw)
Cc: bug-guile, Neil Jerram
Hi,
Marius Vollmer <mvo@zagadka.de> writes:
> Please also make this change in the branch_release-1-8 branch if
> appropriate.
BTW, what's going to be put in HEAD from now on (apart from what goes in
the 1.8 branch)?
Thanks,
Ludovic.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-10 8:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06 8:43 libguile/socket.c hyperdivision
2006-02-09 10:10 ` libguile/socket.c Neil Jerram
2006-02-09 12:01 ` libguile/socket.c Ludovic Courtès
2006-02-09 13:43 ` libguile/socket.c Neil Jerram
2006-02-09 21:46 ` libguile/socket.c Marius Vollmer
2006-02-10 6:58 ` libguile/socket.c Neil Jerram
2006-02-10 8:21 ` libguile/socket.c Marius Vollmer
2006-02-10 8:37 ` libguile/socket.c Ludovic Courtès
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).