[bug] Cannot compile GST 3.1 on Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Cannot compile GST 3.1 on Windows

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/274
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/274

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  ZuLuuuuuu
 Updated by:   bonzinip
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/gst-remove-at.patch (937 bytes)

genbc's arguments should be

 ./genbc byte.def byte.c opt.c xlat.c

The segmentation fault is probably due to accessing a NULL pointer
returned by fopen after a file not found error.  (Not very robust, I
must admit.  But this program should only be run by maintainers and
people who use git snapshots).

Indeed, in the make log there is no segmentation fault; this was fixed
by
http://git.savannah.gnu.org/gitweb/?p=smalltalk.git;a=commit;h=8b603c2

Please try the attached patch and send a new make log.  Thanks!




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Cannot compile GST 3.1 on Windows

Stefan Izota
In reply to this post by ZuLuuuuuu
Issue status update for
http://smalltalk.gnu.org/project/issue/274
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/274

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  ZuLuuuuuu
 Updated by:   stefan.izota
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/make2.txt (44.16 KB)

You can find the new log attached.

Gdb output is the same:


gdb genbc.exe
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(no debugging symbols found)
(gdb) set args byte.def byte.c opt.c xlat.c
(gdb) run
Starting program: d:\msys\1.0\home\stef\temp\smalltalk\libgst/genbc.exe
byte.def byte.c opt.c xlat.c
[New thread 1548.0xbdc]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program exited with code 030000000005.






_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Cannot compile GST 3.1 on Windows

Paolo Bonzini-3
In reply to this post by ZuLuuuuuu
Issue status update for
http://smalltalk.gnu.org/project/issue/274
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/274

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  ZuLuuuuuu
 Updated by:   bonzinip
 Status:       active

I pushed the fix for pointer-set.c now.

I cannot do anything about internal compiler errors---moreover, mingw
uses an extremely old compiler and there's no trace of
genrtl_break_stmt in GCC 4.x.

Just trust me that I'll start distributing Windows binaries soon.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
12