Fwd: buildworld from 11.1-R-p8 to stable/11 fails in contrib/llvm

2018-03-31 Thread Thiemo Nordenholz

Hello,

having first upgraded from 11.1-RELEASE to FreeBSD 11.1-RELEASE-p8 amd64 
via freebsd-upgrade, I wanted to switch to -stable and svnup'ed to r331758.


Subsequent "make buildworld" fails when compiling what looks like a part 
of llvm:


c++-O2 -pipe -I/usr/src/contrib/llvm/tools/lldb/include 
-I/usr/src/contrib/llvm/tools/lldb/source 
-I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD 
-I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX 
-I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/Utility 
-I/usr/obj/usr/src/lib/clang/libllvm 
-I/usr/obj/usr/src/lib/clang/libclang -DLLDB_DISABLE_PYTHON 
-I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT 
-DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include 
-I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL 
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG 
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.1\" 
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.1\" -DDEFAULT_SYSROOT=\"\" 
-ffunction-sections -fdata-sections -MD 
-MF.depend.Host_common_MainLoop.o -MTHost/common/MainLoop.o 
-fstack-protector-strong -Qunused-arguments  -std=c++11 -fno-exceptions 
-fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c 
/usr/src/contrib/llvm/tools/lldb/source/Host/common/MainLoop.cpp -o 
Host/common/MainLoop.o
/usr/src/contrib/llvm/tools/lldb/source/Host/common/MainLoop.cpp:144:10: 
error: no viable conversion from returned value of type 'int' to 
function return type 'sigset_t' (aka '__sigset')

  return 0;

As the respective source code seems to be in the tree for quite some 
time, I wonder why I cannot seem to find other such issues occurring - 
what am I missing here? I have no /etc/make.conf, no MAKEFLAGS set, and 
emptied /usr/obj/ before each of my attempts (-j8, -j4, and no flags, 
with clang and gcc (see below)).


Trying "env WITHOUT_CLANG=YES WITH_GCC=YES make buildworld" also fails, 
however in /usr/src/lib/libc/tests/ssp (as make says):


cc -O2 -pipe -fstack-protector-all -Wstack-protector -fsanitize=bounds 
-g -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall 
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Qunused-arguments  -o h_raw.full h_raw.o
/usr/obj/usr/src/tmp/usr/bin/ld: 
/usr/obj/usr/src/tmp/usr/lib/clang/5.0.1/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a: 
No such file: No such file or directory

cc: error: linker command failed with exit code 1 (use -v to see invocation)

Again - as I did not see similar issues on the mailing list, I wonder 
what's going on here. Perhaps anyone else can shed some light or give me 
a hint on how to proceed. I'd really like to try out the 
graphics/drm-next-kmod port...


Best wishes, and happy holidays to those so inclined,
  Thiemo

--
Query a PGP key server for my public key 0x11E4B9A92AAE0A34.
Strange sender address? Please see 
http://www.thiemo.net/misc/list-mail.shtml

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: buildworld from 11.1-R-p8 to stable/11 fails in contrib/llvm

2018-03-31 Thread Thiemo Nordenholz

Thank you, Dimitry!

On 03/31/18 18:56, Dimitry Andric wrote:> Can you check whether the 
following lines exist in your copy of lib/clang/include/lldb/Host/Config.h:

>
> #define HAVE_SYS_EVENT_H 1
> #define HAVE_PPOLL 1
Yes, they are there. I have also updated to r331838 and tried again, and 
it looks like the one in freebsd.org's web svn browser.

> If not, it is best to delete your source tree and do a fresh checkout.
Even though it looks okay, I am trying that now.

>> Trying "env WITHOUT_CLANG=YES WITH_GCC=YES make buildworld" also 
fails, however in /usr/src/lib/libc/tests/ssp (as make says):

[ ... ]
> In this case, I think you would also need WITHOUT_CLANG_BOOTSTRAP. 
Or alternatively, build using WITHOUT_TESTS.
I will try that next in case the currently svnup'ing 331844-from-scratch 
also fails.


Best wishes,
  Thiemo

--
Query a PGP key server for my public key 0x11E4B9A92AAE0A34.
Strange sender address? Please see 
http://www.thiemo.net/misc/list-mail.shtml

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [solved] buildworld from 11.1-R-p8 to stable/11 fails in contrib/llvm

2018-03-31 Thread Thiemo Nordenholz
Deleting /usr/src and svnup'ing it again did indeed solve the problem.

>  > If not, it is best to delete your source tree and do a fresh checkout.
> Even though it looks okay, I am trying that now.

Thanks again!
  Thiemo

-- 
Query a PGP key server (e.g. http://www.pgp.net/) for my public key 2AAE0A34.
Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Xircom PCMCIA card support

2000-06-22 Thread Thiemo Nordenholz

In list.freebsd-stable you write:

>: Jun 21 18:11:13 mobile pccardd[51]: Config id 35 not present in this card
>: Jun 21 18:11:13 mobile pccardd[51]: Resource allocation failure for Xircom
>: 
>:  However after 'pccardc enabler 0 xe0 -i 3'

>What's your pccard.conf entry for this card?  The config id 35 not
>present looks bad.

Did you check if config ID 35 is present there? "pccardc dumpcis" might
help, pick the right config tuple and use it in /etc/pccardd.conf...

Cheers,
  Thiemo
-- 
Thiemo Nordenholz <[EMAIL PROTECTED]> Chemistry *BSD WinNT CP Coffee!
2*P-II/400 fBSD 4.0-R   P/133 fBSD 3.2  AXPpci33 oBSD/alpha 2.4   MP2k NOS2.1
Cx486/66 fBSD 4.0-RELEASE SUN SS10 Solaris 7 i486/66 fBSD 4.0-CURRENT


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message