Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000519 | mercury | Bug | public | 2020-09-17 05:14 | 2020-10-01 23:08 |
Reporter | keri | ||||
---|---|---|---|---|---|
Assigned To | juliensf | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000519: extras/graphics/mercury_tcltk library may contain reference to unknown matherr symbol | ||||
Description | mtcltk.m contains the following: /* ** The following variable is a special hack that is needed in order for ** Sun shared libraries to be used for Tcl. */ :- pragma foreign_code("C", " extern int matherr(void); int *tclDummyMathPtr = (int *) matherr; "). This workaround is no longer necessary with modern versions of Tcl and the matherr() function has been removed since version 8.4. [1] While libmercury_tcltk.so may be built, the resultant library may cause problems. For example, after building extras/graphics/mercury_tcltk: $ cd extras/graphics/samples/calc $ mmc --search-lib-files-dir ../../mercury_tcltk --library mercury_tcltk --make calc <snip> Making calc ** Error making 'calc'. ../../mercury_tcltk/libmercury_tcltk.so: undefined reference to 'matherr' collect2: error: ld returned 1 exit status We could either just remove the workaround or perhaps wrap it in some ifdef/endif block. [1] https://wiki.tcl-lang.org/page/tclDummyMathPtr | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2020-09-17 05:14 | keri | New Issue | |||
2020-10-01 23:08 | juliensf | Assigned To | => juliensf | ||
2020-10-01 23:08 | juliensf | Status | new => resolved | ||
2020-10-01 23:08 | juliensf | Resolution | open => fixed | ||
2020-10-01 23:08 | juliensf | Note Added: 0001105 |