LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2017, 08:36 PM   #1
OstermanA
Member
 
Registered: Dec 2006
Location: Seattle, WA
Distribution: CentOS 8
Posts: 99

Rep: Reputation: 20
mpfr_buildopt_tune_case() and MPFR_TUNE_CASE do not match


I'm trying to compile GCC on a Redhat Enterprise 6 box, and mpfr 3.1.5 is failing this part of make check:
Code:
======================================
   MPFR 3.1.5: tests/test-suite.log
======================================

# TOTAL: 160
# PASS:  158
# SKIP:  1
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tversion
==============

[tversion] MPFR 3.1.5
[tversion] Compiler: GCC 6.3.0
[tversion] GMP: header 6.1.2, library 6.1.2
[tversion] TLS = yes, decimal = no, GMP internals = no
[tversion] intmax_t = yes, printf = yes
[tversion] gmp_printf: hhd = yes, lld = yes, jd = yes, td = yes, Ld = yes
ERROR! mpfr_buildopt_tune_case() and MPFR_TUNE_CASE do not match!
  src/x86_64/core2/mparam.h
  default
FAIL tversion (exit status: 1)

SKIP: tget_set_d64
==================

SKIP tget_set_d64 (exit status: 77)
I tried the same process on another machine, and it worked fine. Tracked down the output from the test on that machine and it's coming back with 'default'. Base on what tversion.c says, it looks like mpfr_buildopt_tune_case() is somehow coming back with the Core2/Xeon response, while the compiler directives are set to 'default'.

/proc/cpuinfo shows that the machine is a "Intel(R) Xeon(R) CPU E5-4640 v2 @ 2.20GHz".

I do not know what to do next. Any suggestions?

Last edited by OstermanA; 01-16-2017 at 09:07 PM.
 
Old 01-18-2017, 07:41 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Did you run make tune beforehand, as described here?: http://lists.gforge.inria.fr/piperma...er/006650.html
 
Old 01-18-2017, 11:48 PM   #3
OstermanA
Member
 
Registered: Dec 2006
Location: Seattle, WA
Distribution: CentOS 8
Posts: 99

Original Poster
Rep: Reputation: 20
As if by magic, my build script no longer fails on make check, and make tune shows "nothing to do". I do not understand what changed. Either the phase of the moon changed enough that it works again, or the system admins changed something without telling us again.
 
Old 01-19-2017, 01:20 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by OstermanA View Post
As if by magic, my build script no longer fails on make check, and make tune shows "nothing to do". I do not understand what changed. Either the phase of the moon changed enough that it works again, or the system admins changed something without telling us again.
:-) The bountifulness of the Computer Gods is limitless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script to check if two variables match always says they match even if they don't bash anon002 Programming 11 06-04-2015 08:40 PM
Using sed to replace a second match before a match nithintou Programming 4 08-21-2012 06:48 AM
[SOLVED] AWK: match multiple strings in the file, print 1 when match and 0 when not cristalp Programming 12 11-15-2011 10:18 AM
[SOLVED] Match datetime by the minute (not an exact match by the second) [mysql] hattori.hanzo Programming 1 10-21-2010 05:43 PM
grep/sed/awk - find match, then match on next line gctaylor1 Programming 3 07-11-2007 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration