Modify ↓
Ticket #514 (new support)
Cygwin Built bootloader?
| Reported by: | 3togo | Owned by: | matysek |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Loader | Version: | 1.5.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by htgoebel) (diff)
I tried to build bootloader under cygwin for py-installer git version by issuing the command
>python waf configure build install Compiling and Build went well and I got run.exe, run_d.exe But when I run it, $ build/debug/run_d.exe Segmentation fault (core dumped)
Any pointer on how to debug it?
Attachments
Change History
comment:1 Changed 15 months ago by htgoebel
- Owner changed from htgoebel to matysek
- Priority changed from normal to low
- Component changed from Hooks to Loader
- Description modified (diff)
comment:2 Changed 15 months ago by matysek
- Type changed from defect to support
- Summary changed from Cygwin Built bootloader - to Cygwin Built bootloader?
You should be able to compile bootloader with mingw. However, mingw based bootloader is not well tested.
comment:3 Changed 15 months ago by 3togo
fixed....
It is triggerd by strlen.
Program received signal SIGSEGV, Segmentation fault. 0x61127913 in strlen () from /cygdrive/c/cygwin/bin/cygwin1.dll (gdb)
below is the diff
3togo@3togo-PC /src/pyinstaller/source/linux
$ diff utils.c utils.c.old
43c43
< if (strncasecmp(&programname[strlen(thisfile)-4], ".exe", 4)) {
---
> if (strncasecmp(&programname[strlen(argv[0])-4], ".exe", 4)) {
Note: See
TracTickets for help on using
tickets.

Any reason why you are rebuilding the loader?
Building the loader in Cygwin is not supported by us. Sorry, no idea how to debug this except of setting debug=True in the EXE(..) of the spec-file.
Please use the current development branch when trying new stuff.