-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
by dan.hovang:
I'm trying to build the compiler (the plan9-based one) on Linux with XFS
file system. This is what happens:
gopack grc _test/os.a _gotest_.8
make[2]: Leaving directory `/store/home/dan/install/go/src/pkg/os'
--- FAIL: os_test.TestLongSymlink
symlink
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"longsymlinktestfrom" failed: symlink
0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
longsymlinktestfrom: file name too long
FAIL
make[1]: *** [test] Error 1
make[1]: Leaving directory `/store/home/dan/install/go/src/pkg/os'
make: *** [os.test] Error 2
My setup is:
GOARCH=386
GOOS=linux
changeset: 3975:b51fd2d6c160
tag: tip
user: Kevin Ballard <kevin at sb.org>
date: Tue Nov 10 20:05:24 2009 -0800
summary: Implement new emacs command M-x gofmt
It seems like the test is creating a 273 character symlink. XFS support
only 255 character file names. Strange thing is, according to Wikipedia,
ext3 has the same 255 character limitation. Maybe ext3 just silently
truncate the filename?
The whole thing builds just fine on a ReiserFS partition on the same
machine (which supports 4 032 character file name).