Artifacts Associated With Ticket 3005196
Ticket change [c0a0926011] (rid 102440) by buzzzzdeeee on 2010-05-21 09:15:24:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcl doesn't build on OpenBSD vax, due to the following error message when it compiles generic/tclStrToD.c: *unknown*:0: Warning: as: I don't understand 'k' flag. *unknown*:0: Warning: as: I don't understand 'K' flag. /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: In function `TclParseNumber': /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: `sN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: (Each undeclared identifier is reported only once /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: for each function it appears in.) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:951: `sNA' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:952: `sNANPAREN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:953: `sNANHEX' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1137: `sNAN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1138: `sNANFINISH' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: At top level: appended patch fixes this problem for me.
- foundin initialized to: "obsolete: 8.5.8"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "buzzzzdeeee"
- subsystem initialized to: "None"
- title initialized to: "fix for build on OpenBSD vax"
- type initialized to: "Bug"
Add attachment "tclStrToD.c-vax" [08724fd852] (rid 89561) by buzzzzdeeee on 2010-05-21 16:15:24.
Ticket change [ef93091e7c] (rid 109016) by buzzzzdeeee on 2010-05-21 16:15:24:
- icomment:
File Added - 374690: tclStrToD.c-vax
- login: "buzzzzdeeee"
- mimetype: "text/plain"
- username: "buzzzzdeeee"
- icomment:
Ticket change [7417af3024] (rid 105144) by buzzzzdeeee on 2010-05-21 17:26:18:
- icomment:
I was too early, afterwards the linking stage breaks like this: cc -c -O2 -O2 -pipe -pipe -Wall -fPIC -I"." -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../unix -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../libtommath -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../unix/tclAppInit.c *unknown*: Assembler messages: *unknown*:0: Warning: as: I don't understand 'k' flag. *unknown*:0: Warning: as: I don't understand 'K' flag. cc -O2 -O2 -pipe -pipe tclAppInit.o -L/usr/ports/pobj/tcl-8.5.8/build-vax -ltcl85 -lm -o tclsh ld: No reference to __DYNAMIC collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/ports/pobj/tcl-8.5.8/build-vax (line 577 of Makefile). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 2225 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 1481 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 2021 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 1511 of /usr/ports/infrastructure/mk/bsd.port.mk). But I have no idea where this dynamic comes from, but the reason may be that the OpenBSD vax port still uses a.out and static libraries.
- login: "buzzzzdeeee"
- mimetype: "text/plain"
- title changed to: "(partial) fix for build on OpenBSD vax"
- username: "buzzzzdeeee"
- icomment:
Ticket change [ab78f86c22] (rid 101125) by buzzzzdeeee on 2010-05-21 17:31:27:
- subsystem changed to: "52. Portability Support"
Ticket change [79b2ce2591] (rid 90176) by nijtmans on 2010-05-21 21:41:29:
- icomment:
> But I have no idea where this dynamic comes from, but the reason may be > that the OpenBSD vax port still uses a.out and static libraries. Then you could try configuring it with --disable-shared and/or --disable-load.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [54927860aa] (rid 93971) by buzzzzdeeee on 2010-05-22 15:16:03:
- closedate changed to: "2010-05-22T08:16:03"
- closer changed to: "buzzzzdeeee"
- icomment:
allow_comments - 1 Thanks. --disable-load was the missing configure parameter, --disable-shared did not helped.
- login: "buzzzzdeeee"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "buzzzzdeeee"