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]

[Bug other/8121] BAD file ownership for gcc include files


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8121



------- Additional Comments From peb@mppmu.mpg.de  2003-06-11 12:49 -------
Subject: Re:  BAD file ownership for gcc include files

On Tue, 27 May 2003, Peter Breitenlohner wrote:

> On Mon, 26 May 2003, dhazeghi@yahoo.com wrote:
>
> > would it be possible for you to check whether this problem is still present with gcc 3.3? Thanks,
>
> Hi Dara,
>
> will do as soon as I get to build gcc-3.3 (which is on my list, but right
> now I am out of town).

The problem persists (at least in parts)!
I have done
	make bootstrap
	make DESTDIR=`pwd`/gcc-3.3-install-linux install
as root; here an excerpt from the 'ls -lR gcc-3.3-install-linux' output:

...........

gcc-3.3-inst-linux/usr/lib/gcc-lib/ix86-linux-gnulibc1/3.3:
total 13116
-rwxr-xr-x    1 root     root      3066612 Jun 11 14:00 cc1*
-rwxr-xr-x    1 root     root      3124020 Jun 11 14:00 cc1obj*
-rwxr-xr-x    1 root     root      3584836 Jun 11 14:00 cc1plus*
-rwxr-xr-x    1 root     root        86432 Jun 11 14:00 collect2*
-rw-r--r--    1 root     root         1952 Jun 11 14:00 crtbegin.o
-rw-r--r--    1 root     root         2508 Jun 11 14:00 crtbeginS.o
-rw-r--r--    1 root     root         1216 Jun 11 14:00 crtend.o
-rw-r--r--    1 root     root         1488 Jun 11 14:00 crtendS.o
-rwxr-xr-x    1 root     root      3423316 Jun 11 14:00 f771*
drwxr-xr-x    3 peb      THEORY       4096 Jun 11 14:00 include/
drwxr-xr-x    3 root     root         4096 Jun 11 14:00 install-tools/
-rw-r--r--    1 root     root        50872 Jun 11 14:00 libgcc.a
-rw-r--r--    1 root     root        25416 Jun 11 14:00 libgcc_eh.a
-rw-r--r--    1 root     root         3617 Jun 11 14:00 specs

gcc-3.3-inst-linux/usr/lib/gcc-lib/ix86-linux-gnulibc1/3.3/include:
total 168
-rw-r--r--    1 peb      THEORY        750 Jun 11 11:43 README
-rw-r--r--    1 peb      THEORY       5372 Jun 11 11:43 float.h
-rw-r--r--    1 root     root         5493 Jun 11 14:00 g2c.h
-rw-r--r--    1 peb      THEORY       1440 Jun 11 11:43 iso646.h
-rw-r--r--    1 peb      THEORY       2745 Jun 11 11:43 limits.h
-rw-r--r--    1 peb      THEORY      16848 Jun 11 11:43 mmintrin.h
drwxr-xr-x    2 root     root         4096 Jun 11 14:00 objc/
-rw-r--r--    1 peb      THEORY       4325 Jun 11 11:43 stdarg.h
-rw-r--r--    1 peb      THEORY       1612 Jun 11 11:43 stdbool.h
-rw-r--r--    1 peb      THEORY      12695 Jun 11 11:43 stddef.h
-rw-r--r--    1 peb      THEORY        330 Jun 11 11:43 syslimits.h
-rw-r--r--    1 peb      THEORY       8635 Jun 11 11:43 unwind.h
-rw-r--r--    1 peb      THEORY        139 Jun 11 11:43 varargs.h
-rw-r--r--    1 peb      THEORY      62211 Jun 11 11:43 xmmintrin.h

...........

gcc-3.3-inst-linux/usr/lib/gcc-lib/ix86-linux-gnulibc1/3.3/install-tools:
total 320
-rwxr-xr-x    1 root     root        12891 Jun 11 14:00 fixinc.sh*
-rwxr-xr-x    1 root     root       286826 Jun 11 14:00 fixincl*
-rw-r--r--    1 root     root          330 Jun 11 14:00 gsyslimits.h
drwxr-xr-x    2 root     root         4096 Jun 11 14:00 include/
-rwxr-xr-x    1 root     root         3144 Jun 11 14:00 mkheaders*
-rw-r--r--    1 root     root          122 Jun 11 14:00 mkheaders.conf

gcc-3.3-inst-linux/usr/lib/gcc-lib/ix86-linux-gnulibc1/3.3/install-tools/include:
total 152
-rw-r--r--    1 root     root          750 Jun 11 14:00 README
-rw-r--r--    1 root     root         5372 Jun 11 14:00 float.h
-rw-r--r--    1 root     root         1440 Jun 11 14:00 iso646.h
-rw-r--r--    1 root     root         2745 Jun 11 14:00 limits.h
-rw-r--r--    1 root     root        16848 Jun 11 14:00 mmintrin.h
-rw-r--r--    1 root     root         4325 Jun 11 14:00 stdarg.h
-rw-r--r--    1 root     root         1612 Jun 11 14:00 stdbool.h
-rw-r--r--    1 root     root        12695 Jun 11 14:00 stddef.h
-rw-r--r--    1 root     root         8635 Jun 11 14:00 unwind.h
-rw-r--r--    1 root     root          139 Jun 11 14:00 varargs.h
-rw-r--r--    1 root     root        62211 Jun 11 14:00 xmmintrin.h

...........

Note that install-tools/include/ and the files in that directory (which are
fine) have the timestamp from 'make install', whereas the files in include/
are bad AND have the timestamp from 'make bootstrap'!

==============================================================

There are other problems which I will report separately, the worst being
that (the installed!) libstdc++.la and libsupc++.la contain in their
dependency_libs entry -L's refering to build directories.

With nfs-mounted filesystems this can lead to serious hangups (and curiously
enough has done so in 'make check' for libtool-1.5 which has resolved
exactly this problem).

==============================================================

regards
Peter Breitenlohner <peb@mppmu.mpg.de>


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