Bug 464056

Summary: fix configure script failure on sh arch.
Product: [Fedora] Fedora Reporter: CHIKAMA Masaki <masaki.chikama>
Component: octaveAssignee: Rakesh Pandit <rpandit>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: alex, mmahut, rpandit
Target Milestone: ---   
Target Release: ---   
Hardware: sh4   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-23 11:18:04 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:
Attachments:
Description Flags
octave-filter-asoption.patch none

Description CHIKAMA Masaki 2008-09-26 03:44:40 UTC
Created attachment 317762 [details]
octave-filter-asoption.patch

Description of problem:
 This patch enables to compile octave on sh architecture.
On this arch, gcc(gfortran) passes "-little" option to gas 
when compiling for backward compatibility. 
The configure script fails because of it.
I also sent a patch for autoconf package beacuse
this configure script was generated by autoconf.
(see Bug #456886)

--- octave-3.0.0/configure.org  2008-08-08 18:51:07.000000000 +0900
+++ octave-3.0.0/configure      2008-08-08 18:51:31.000000000 +0900
@@ -11078,7 +11078,7 @@
                                                                                
           ;;
           # Ignore these flags.
-        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | LIST:* | -LNO:*)
+        -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | LANG:=* | -LIST:* | -LNO:*)
           ;;
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

Version-Release number of selected component (if applicable):
 octave-3.0.2-1

Comment 1 Rakesh Pandit 2008-10-23 06:29:49 UTC
Did you sent it upstream ?

Comment 2 CHIKAMA Masaki 2008-10-23 08:01:00 UTC
No. Not yet.
Could you contact upstream and push the patch please ?

Comment 3 Rakesh Pandit 2008-10-23 08:16:17 UTC
I see the patch sane, so I will apply it. I will drop it in some time soon. - Thanks. I will push the patch with latest release. Octave needs some cleaning. Keeping watching ... 

Thanks

Comment 4 CHIKAMA Masaki 2008-10-23 08:22:35 UTC
Thank you. I'll make efforts to contact upstream in myself from now on.

Comment 5 Fedora Update System 2008-10-23 11:14:52 UTC
octave-3.0.2-2.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/octave-3.0.2-2.fc8

Comment 6 Fedora Update System 2008-10-23 11:15:40 UTC
octave-3.0.2-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/octave-3.0.2-2.fc9

Comment 7 Rakesh Pandit 2008-10-23 11:18:04 UTC
CLOSED -> RAWHIDE

Comment 8 Fedora Update System 2008-12-11 07:58:14 UTC
octave-3.0.2-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-12-11 08:03:37 UTC
octave-3.0.2-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.