First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 217971
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217971 depends on: Show dependency tree
Show dependency graph
Bug 217971 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-16 15:45 0000
compilation of grace fails with
gcc -O2 -march=i686 -pipe -I.. -I.       -c -o pars.o pars.c
pars.yacc:5421: error: 'log2' undeclared here (not in a function)

With glibc-2.7-r2
/usr/include/bits/mathcalls.h
contains the lines

#ifdef __USE_ISOC99
__BEGIN_NAMESPACE_C99
/* Compute base-2 exponential of X.  */
__MATHCALL (exp2,, (_Mdouble_ __x));

/* Compute base-2 logarithm of X.  */
__MATHCALL (log2,, (_Mdouble_ __x));
__END_NAMESPACE_C99
#endif


but  config.h  contains
#define HAVE_LOG2 1

Adding the line
                --with-cc="gcc -std=c99" \
in src_compile()  in the ebuild fixes this error.
But unfortunately other errors occur lateron.
Probably  confgure has to be fixed.

Sorry I can't help on that one.



Reproducible: Always

------- Comment #1 From Jeroen Roovers 2008-04-16 16:26:54 0000 -------
Please provide your `emerge --info` too.

------- Comment #2 From Sébastien Fabbro 2008-04-16 18:33:59 0000 -------
Should be fixed in cvs. Re-open if not.
Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug