Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 09:15:58 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        svn-src-all@freebsd.org, "Bjoern A. Zeeb" <bz@freebsd.org>, src-committers@freebsd.org, Jason Evans <jasone@freebsd.org>
Subject:   Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src inclu...
Message-ID:  <20120419091558.2ae655a0@cox.net>
In-Reply-To: <CAJ-VmomRqGRbDD3B=NhtKY=E2pb1Lqrr9AcwNGtD91U_GfBi8Q@mail.gmail.com>
References:  <201204170722.q3H7ME6A070934@svn.freebsd.org> <F43DDEEA-375B-4F1C-80A3-AAECFDFF414A@FreeBSD.org> <AECE03EF-CDEB-43DE-9222-CD94CC07CC95@FreeBSD.org> <CAJ-VmomRqGRbDD3B=NhtKY=E2pb1Lqrr9AcwNGtD91U_GfBi8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Apr 2012 11:05:08 -0700
Adrian Chadd <adrian@freebsd.org> wrote:

> On 17 April 2012 02:43, Bjoern A. Zeeb <bz@freebsd.org> wrote:
> 
> > Actually it seems these failed:
> >
> > arm.armeb buildworld failed, check _.arm.armeb.buildworld for
> > details arm.arm buildworld failed, check _.arm.arm.buildworld for
> > details mips.mips64 buildworld failed, check
> > _.mips.mips64.buildworld for details mips.mipsel buildworld failed,
> > check _.mips.mipsel.buildworld for details mips.mips64el buildworld
> > failed, check _.mips.mips64el.buildworld for details mips.mipsn32
> > buildworld failed, check _.mips.mipsn32.buildworld for details
> > mips.mips buildworld failed, check _.mips.mips.buildworld for
> > details i386.i386 buildworld failed, check _.i386.i386.buildworld
> > for details pc98.i386 buildworld failed, check
> > _.pc98.i386.buildworld for details powerpc.powerpc buildworld
> > failed, check _.powerpc.powerpc.buildworld for details
> > powerpc.powerpc64 buildworld failed, check
> > _.powerpc.powerpc64.buildworld for details
> 
> This looks like it only works on amd64 and sparc64. Lucky them. :)

Actually, I keep getting "undefined reference to _malloc_options" while
building libexec/atrun on amd64.  Not sure what the problem may be.
Could it have something to do with doing a debug build (with -g)?

===> libexec/atrun (all)
clang -Wno-error -O2 -g -pipe -fno-strict-aliasing -march=native
-DATJOB_DIR=\"/var/at/jobs/\"  -DLFILE=\"/var/at/jobs/.lockfile\"
-DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\"
-DDAEMON_UID=1 -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'
-DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\"
-I/usr/src/libexec/atrun/../../usr.bin/at -I/usr/src/libexec/atrun
-DLOGIN_CAP -DPAM -DNDEBUG -std=gnu99 -Qunused-arguments
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum
-c /usr/src/libexec/atrun/atrun.c clang -Wno-error -O2 -g -pipe
-fno-strict-aliasing -march=native -DATJOB_DIR=\"/var/at/jobs/\"
-DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
-DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
-DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
-DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
-I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -DNDEBUG -std=gnu99
-Qunused-arguments -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion
-Wno-switch -Wno-switch-enum -c /usr/src/libexec/atrun/gloadavg.c clang
-Wno-error -O2 -g -pipe -fno-strict-aliasing -march=native
-DATJOB_DIR=\"/var/at/jobs/\"  -DLFILE=\"/var/at/jobs/.lockfile\"
-DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\"
-DDAEMON_UID=1 -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'
-DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\"
-I/usr/src/libexec/atrun/../../usr.bin/at -I/usr/src/libexec/atrun
-DLOGIN_CAP -DPAM -DNDEBUG -std=gnu99 -Qunused-arguments
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum  -o
atrun atrun.o gloadavg.o -lpam
-lutil /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to
`_malloc_options' clang: error: linker command failed with exit code 1
(use -v to see invocation) *** [atrun] Error code 1

Stop in /usr/src/libexec/atrun.
*** [all] Error code 1

Stop in /usr/src/libexec.
*** [libexec.all__D] Error code 1

Stop in /usr/src.
*** [everything] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.

-- 
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120419091558.2ae655a0>