Re: problem upgrading from 5.0 to 5.1
Hi! Paul Chvostek wrote: On Mon, Jul 07, 2003 at 01:38:59PM -0500, Michael L. Squires wrote: I've got a box on which 5.0-RELEASE was installed. I updated the source tree using cvsup to RELENG_5_1 and tried to recompile, and now every RELENG_5_1 is compiling for me (as of 7/4). Okay, but it's not for me. Are you running mergemaster -p make buildworld This is where it stops, while trying to compile bin/cat. The pertinent lines remain: | /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': | atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' I tried installing devel/pth from ports, to no avail (which makes sense; the port wouldn't affect how libc.a has been compiled). My /etc/make.conf includes: CPUTYPE=i686 CFLAGS= -O3 -pipe Try CFLAGS= -O2 -pipe COPTFLAGS= -O -pipe For compiling kernel not recomended turn on optimizing -O2. I have similar error when make buildworld with -O3. Serge. COPTFLAGS= -O3 -pipe MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) COMPAT4X= yes Any further wisdom? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem upgrading from 5.0 to 5.1
On Mon, Jul 07, 2003 at 01:38:59PM -0500, Michael L. Squires wrote: > > > I've got a box on which 5.0-RELEASE was installed. I updated the source > > tree using cvsup to RELENG_5_1 and tried to recompile, and now every > > RELENG_5_1 is compiling for me (as of 7/4). Okay, but it's not for me. > Are you running > > mergemaster -p > make buildworld This is where it stops, while trying to compile bin/cat. The pertinent lines remain: | /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': | atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' I tried installing devel/pth from ports, to no avail (which makes sense; the port wouldn't affect how libc.a has been compiled). My /etc/make.conf includes: CPUTYPE=i686 CFLAGS= -O3 -pipe COPTFLAGS= -O3 -pipe MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) COMPAT4X= yes Any further wisdom? -- Paul Chvostek <[EMAIL PROTECTED]> Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem upgrading from 5.0 to 5.1
> I've got a box on which 5.0-RELEASE was installed. I updated the source > tree using cvsup to RELENG_5_1 and tried to recompile, and now every RELENG_5_1 is compiling for me (as of 7/4). Are you running mergemaster -p make buildworld make buildkernel KERNCONF= make installkernel KERNCONF= make installworld mergemaster Michael Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem upgrading from 5.0 to 5.1
On Mon, Jul 07, 2003 at 12:42:49PM -0400 or thereabouts, Paul Chvostek wrote: > > I'm confused... > > I've got a box on which 5.0-RELEASE was installed. I updated the source > tree using cvsup to RELENG_5_1 and tried to recompile, and now every > time it gets to bin/cat, it chokes. The source tree *is* up to date, > I've tried running `make clean update buildworld` to no avail. It > always stops in the same place. I could do a proper reinstall from an > ISO, but I'd really like to know what's wrong. > > Any idea what's happening, or where I should look? I'm stumped. Those are thread functions, but no -lc_r (or -pthread). Try recvsupping; someone else will no doubt have a better answer than I did. -- Josh > > Thanks. > > | ===> bin > | ===> bin/cat > | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c > /var/src/bin/cat/cat.c > | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -static -o cat cat.o > | /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': > | atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' > | atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' > | atexit.o(.text+0xe8): undefined reference to `_pthread_mutex_unlock' > | atexit.o(.text+0x109): undefined reference to `_pthread_mutex_lock' > | atexit.o(.text+0x11a): undefined reference to `_pthread_mutex_unlock' > | atexit.o(.text+0x141): undefined reference to `_pthread_mutex_lock' > | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `flockfile': > | _flock_stub.o(.text+0x10): undefined reference to `_pthread_self' > | _flock_stub.o(.text+0x25): undefined reference to `_pthread_mutex_lock' > | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function > `_flockfile_debug': > | _flock_stub.o(.text+0x60): undefined reference to `_pthread_self' > | _flock_stub.o(.text+0x75): undefined reference to `_pthread_mutex_lock' > | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `ftrylockfile': > | _flock_stub.o(.text+0xb5): undefined reference to `_pthread_self' > | _flock_stub.o(.text+0xca): undefined reference to `_pthread_mutex_trylock' > | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `funlockfile': > | _flock_stub.o(.text+0x10d): undefined reference to `_pthread_self' > | _flock_stub.o(.text+0x149): undefined reference to `_pthread_mutex_unlock' > | *** Error code 1 > | > | Stop in /var/src/bin/cat. > |... > > -- > Paul Chvostek <[EMAIL PROTECTED]> > Operations / Abuse / Whatever > it.canada, hosting and development http://www.it.ca/ > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem upgrading from 5.0 to 5.1
I'm confused... I've got a box on which 5.0-RELEASE was installed. I updated the source tree using cvsup to RELENG_5_1 and tried to recompile, and now every time it gets to bin/cat, it chokes. The source tree *is* up to date, I've tried running `make clean update buildworld` to no avail. It always stops in the same place. I could do a proper reinstall from an ISO, but I'd really like to know what's wrong. Any idea what's happening, or where I should look? I'm stumped. Thanks. | ===> bin | ===> bin/cat | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /var/src/bin/cat/cat.c | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -static -o cat cat.o | /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': | atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' | atexit.o(.text+0xe8): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0x109): undefined reference to `_pthread_mutex_lock' | atexit.o(.text+0x11a): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0x141): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `flockfile': | _flock_stub.o(.text+0x10): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x25): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `_flockfile_debug': | _flock_stub.o(.text+0x60): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x75): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `ftrylockfile': | _flock_stub.o(.text+0xb5): undefined reference to `_pthread_self' | _flock_stub.o(.text+0xca): undefined reference to `_pthread_mutex_trylock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `funlockfile': | _flock_stub.o(.text+0x10d): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x149): undefined reference to `_pthread_mutex_unlock' | *** Error code 1 | | Stop in /var/src/bin/cat. |... -- Paul Chvostek <[EMAIL PROTECTED]> Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"