buildworld with clang breaks because no cc

Chuck Burns break19 at gmail.com
Sat Nov 24 04:45:46 UTC 2012


On 11/23/2012 4:03 PM, Beeblebrox wrote:
> I went ahead and hacked gnu/lib/Makefile and changed to:
>
> if ${MK_CXX} != "no"
> #SUBDIR+= libstdc++ libsupc++
> .endif
>
> I then restarted buildworld. Next stop, new error:
>
> clang -m32 -march=k8 -DCOMPAT_32BIT  -isystem
> /usr/obj/asp/src/lib32/usr/include/  -L/usr/obj/asp/src/lib32/usr/lib32
> -B/usr/obj/asp/src/lib32/usr/lib32 -fpic -DPIC  -O2 -pipe -DNDEBUG
> -std=gnu99 -Qunused-arguments -fstack-protector -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 -Wno-parentheses -c
> /asp/src/lib/libncp/ipx.c -o ipx.So
> building shared library libncp.so.4
> /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared
> object.
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> ls /usr/obj/asp/src/lib/libncp shows libncp.so.4 and symlink libncp.so
>
>
>
>
> --
>
You've already been told that WITHOUT_GCC is currently unsupported. 
Unsupported means.. we won't help you fix it when it breaks.  Either 
take that option out.. or quit bugging us about it.  The REASON it is 
unsupported is because it doesn't work.  If you want to fix it, have at 
it, but no need to keep spamming the mailing list hoping to get help 
doing something that is unsupported.

Chuck


More information about the freebsd-stable mailing list