Nope, didn’t help:
[…]
configure:13625: checking if -lm needed for math functions
configure:13647: gcc -o conftest -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTRACE
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTRACE
Am 12.05.2013 um 21:54 schrieb Thorsten Glaser:
I think the problem is here:
[…]
configure:13625: checking if -lm needed for math functions
configure:13647: gcc -o conftest -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
On 2013-05-13 10:38 +0200, Sven Joachim wrote:
Am 12.05.2013 um 21:54 schrieb Thorsten Glaser:
Which does not check “enough”. GCC will usually provide sin(3)
as builtin, but not necessarily pow(3).
Foe some value of usually which is apparently different on m68k than
on other architectures.
On Mon, May 13, 2013 at 11:26:26AM +0200, Sven Joachim wrote:
I wonder whether it wouldn't be best to do away with the CF_MATH_LIB
test and always link with -lm.
It would be simpler, but people tend to complain about unneeded libraries
--
Thomas E. Dickey dic...@invisible-island.net
Sven Joachim dixit:
Apparently the builtin sin() is always used on m68k with -O2 then, while
on other arches GCC calls the library function. Seems it had been
different one year ago when ncurses was last built, or maybe the builtin
pow() was also used back then - sadly there aren't any build
Sven Joachim dixit:
if you use sin() -- at least on all other Debian architectures than m68k
the result of the test above is yes. Do you have an idea why this is
different on your pet architecture?
Hrm. It’s not “my” pet architecture, I just jumped in…
it didn’t complete the eglibc transition
On 2013-05-13 11:26 +0200, Sven Joachim wrote:
Apparently the builtin sin() is always used on m68k with -O2 then, while
on other arches GCC calls the library function. Seems it had been
different one year ago when ncurses was last built, or maybe the builtin
pow() was also used back then -
Source: ncurses
Version: 5.9+20130504-1
Severity: important
Tags: patch
Justification: fails to build from source (but built successfully in the past)
Hi!
[…]
m68k-linux-gnu-gcc -c -I. -I/tmp/buildd/ncurses-5.9+20130504/test -I../test
-DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
8 matches
Mail list logo