This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc 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 libc/844] New: elf/Makefile isn't parallel safe and has unnecessary dependency


elf/Makefile isn't parallel safe and has unnecessary dependency.
When I did

[hjl@gnu-10 build-i686-linux]$ make xcheck subdirs=elf -j4
make -r PARALLELMFLAGS="" CVSOPTS="" -C /net/gnu/export/gnu/src/glibc/libc
objdir=`pwd` xcheck
make[1]: Entering directory `/net/gnu/export/gnu/src/glibc/libc'
make  -C elf xtests
make[2]: Entering directory `/net/gnu/export/gnu/src/glibc/libc/elf'
make -f /export/build/gnu/glibc-3.4/build-i686-linux/elf/librtld.mk -f rtld-Rules
make[3]: Entering directory `/net/gnu/export/gnu/src/glibc/libc/elf'
make -C ../csu objdir=/export/build/gnu/glibc-3.4/build-i686-linux -f Makefile
-f ../elf/rtld-Rules rtld-all rtld-modules='rtld-check_fds.os rtld-errno-loc.os
rtld-divdi3.os rtld-errno.os'

Why does "make xcheck" cause libc.so/ld.so to be rebuilt? Also "makc xcheck"
isn't parallel build safe since it starts building test files and libc.so/ld.so
at the same time, which can lead to:

/export/build/gnu/glibc-3.4/build-i686-linux/elf/order2mod1.os: In function
`putchar':
../libio/bits/stdio.h:68: undefined reference to `stdout'
../libio/bits/stdio.h:68: undefined reference to `_IO_putc'
collect2: ld returned 1 exit status
make[4]: *** [/export/build/gnu/glibc-3.4/build-i686-linux/elf/order2mod1.so]
Error 1

At that time, libc.so was partially built.

-- 
           Summary: elf/Makefile isn't parallel safe and has unnecessary
                    dependency
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: hjl at lucon dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=844

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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