Project

General

Profile

Actions

Bug #11000

closed

r50071以降、Solarisにてext/-test-/file/fs.cのコンパイルができない

Added by ngoto (Naohisa Goto) about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:<unknown>]

Description

r50071 以降、Solaris10にて、
ext/-test-/file/fs.c のコンパイルにエラーが発生してビルドが失敗します。

cc -I. -I../../../.ext/include/sparc64-solaris2.10 -I../../.././include -I../../.././ext/-test-/file -I../../.. -I../../../. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include   -KPIC  -xO4 -xtarget=sparc64viiplus -m64 -o fs.o -c fs.c
"fs.c", line 48: undefined struct/union member: f_type
cc: acomp failed for fs.c
make[2]: *** [fs.o] Error 2
make[2]: Leaving directory `/XXXXXXXXXX/ext/-test-/file'
make[1]: *** [ext/-test-/file/all] Error 2
make[1]: Leaving directory `/XXXXXXXXXX'
make: *** [build-ext] Error 2

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #10998: TestIO#test_seek fails in chroot with Linux 3.19ClosedActions
Actions #1

Updated by ngoto (Naohisa Goto) about 9 years ago

  • Related to Bug #10998: TestIO#test_seek fails in chroot with Linux 3.19 added
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r50088.


fs.c: fix f_type

  • ext/-test-/file/fs.c (get_fsname): try magic number only if
    f_type is included. [ruby-dev:48913] [Bug #11000]

Updated by nagachika (Tomoyuki Chikanaga) almost 9 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE

Backported into ruby_2_2 branch at r50621.

Updated by usa (Usaku NAKAMURA) almost 9 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0