Bug 183258

Summary: libfac: build failure (gcc-4.1?)
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: libfacAssignee: Rex Dieter <rdieter>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-30 16:51:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 183265    
Attachments:
Description Flags
patch against factory 2.0.5 none

Description Rex Dieter 2006-02-27 20:12:44 UTC
build fails on fc5/gcc-4.1,
http://buildsys.fedoraproject.org/logs/fedora-development-extras/3992-libfac-2.0.5-3.fc5.1/

c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -fno-implicit-templates -I./factor -I./charset -I.
-I./factor -I/usr/include   -DNOSTREAMIO=1   -c factor/Factor.cc -o OPTOBJ/Factor.o
factor/Factor.cc: In function 'CFFList factorize2(const CanonicalForm&, const
Variable&, const CanonicalForm&)':
factor/Factor.cc:74: error: 'rootOf' was not declared in this scope
factor/Factor.cc: In function 'int specializePoly(const CanonicalForm&,
Variable&, int, SFormList&, int, int)':
factor/Factor.cc:448: error: 'rootOf' was not declared in this scope
factor/Factor.cc: In function 'CFFList Factorize(const CanonicalForm&, const
CanonicalForm&, int)':
factor/Factor.cc:1009: error: 'rootOf' was not declared in this scope
factor/Factor.cc: At global scope:
factor/Factor.cc:3: warning: 'rcsid' defined but not used
factor/Factor.cc:4: warning: 'errmsg' defined but not used
make: *** [OPTOBJ/Factor.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.88629 (%build)

Comment 1 Michael Schwendt 2006-03-28 10:21:18 UTC
Created attachment 126890 [details]
patch against factory 2.0.5

Yes, due to GCC 4.10, but inside factory-2.0.5, and the attached
patch only fixes a few of these bugs (enough to build libfac).

Comment 2 Rex Dieter 2006-03-28 13:25:46 UTC
Thanks Michael... I'll go give it a whirl in mock and see how much further we
get... (-: