This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Build failure on Openbsd/Sparc

Old posts that have not been replied to for several years.
Locked
e
ertyu

Build failure on Openbsd/Sparc

Post by ertyu »

I'm getting tons of warnings while compiling on openbsd 3.1 on an ultrasparc.

For example:
gcc -pipe -g -O2 -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DSTATIC -DMAKING_MODS -c .././blowfish.mod/blowfish.c
.././blowfish.mod/blowfish.c: In function `blowfish_init':
.././blowfish.mod/blowfish.c:208: warning: cast to pointer from integer of different size

which basically breaks down to an incorrectly sized pointer, 32bit on a 64bit platform.

It compiles, but ends up:
Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[21:07] * Last context: main.c/712 []
[21:07] * Please REPORT this BUG!
[21:07] * Check doc/BUG-REPORT on how to do so.
[21:07] * Wrote DEBUG
[21:07] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault (core dumped)

DEBUG:
Debug (eggdrop v1.6.13) written Mon Dec 16 21:07:51 2002
Full Patch List:
STATICALLY LINKED
Tcl library: *unknown*
Tcl version: 8.3.4 (header version 8.3.4)
Compile flags: gcc -pipe -g -O2 -I.. -I.. -DHAVE_CONFIG_H -DSTATIC
Link flags: gcc -pipe
Strip flags: strip
Context: main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712, []
main.c/712 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (file), done.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

See the file BUG-REPORT in the doc directory of eggdrop.
Locked