Help us understand the problem. What is going on with this article?

SPEC OMP2012 のインストールメモ (Ubuntu 14.04)

More than 5 years have passed since last update.

概要

SPEC OMP2012 ベンチマークのインストールに関して、Tool Suite のビルドがそのままでは通らなかったり、インストールではねられたりしたのでメモ。

Tool Suite の修正

Tool Suite のビルドに際し、tools/src 以下の tar と specsum の stdio.in.h を修正する必要がある(修正内容は同一)。

tar-1.25/gnu/stdio.in.h
--- tar-1.25/gnu/stdio.in.h.orig    2011-01-12 16:27:13.000000000 -0800
+++ tar-1.25/gnu/stdio.in.h 2015-03-06 11:26:23.859421832 -0800
@@ -144,7 +144,9 @@
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif

 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
specsum/gnulib/stdio.in.h
--- specsum/gnulib/stdio.in.h.orig  2011-02-14 06:56:46.000000000 -0800
+++ specsum/gnulib/stdio.in.h   2015-03-06 11:33:02.507415000 -0800
@@ -159,7 +159,9 @@
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif

 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@

インストール

チェックサムの確認でエラーになるときは、環境変数 SPEC_INSTALL_NOCHECK=1 を設定すればチェックサムの確認プロセスをスキップできます(ぉぃ)。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした