This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build error for gcc 4.7.2 on Solaris 10


Hello,

I get the following error in building gcc 4.7.2 on Solaris 10:

gcc> tail nohup.out.3
  chmod a+r ${fix_dir}/limits.h; \
done
cp: preserving permissions for 'include-fixed/limits.h': Operation not
applicable
make[3]: *** [stmp-int-hdrs] Error 1
make[3]: Leaving directory `/proj/vobadm100/tmp/gcc/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/proj/vobadm100/tmp/gcc'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/proj/vobadm100/tmp/gcc'
make: *** [all] Error 2

This comes from using the -p option of cp on line 4102 of gcc/Makefile.in.
Is it reserved to root? I am building under a normal account.
I did install coreutils 8.21, and I can reproduce on the command line:

gcc> type cp
cp is /vobs/cello/cade_struct/bin/cp
gcc> cp -p gcc/include-fixed/limits.h /tmp/
cp: preserving permissions for '/tmp/limits.h': Operation not applicable
gcc> ll gcc/include-fixed/limits.h
-rw-rw-r-- 1 emagiro ossdes 5447 Mar  9 19:32 gcc/include-fixed/limits.h
gcc> ll /tmp/limits.h
-rw-rw-r-- 1 emagiro ossdes 5447 Mar  9 19:32 /tmp/limits.h
gcc> cp --help | grep -A3 -- '-p '
  -p                           same as --preserve=mode,ownership,timestamps
      --preserve[=ATTR_LIST]   preserve the specified attributes (default:
                                 mode,ownership,timestamps), if possible
                                 additional attributes: context, links, xattr,

I have later the same issue with the target: tools.zip
line 1426 in libjava/classpath/tools/Makefile.in

I join my config.log.

Thanks,
Marc

Attachment: config.log
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]