freebsd-current Digest, Vol 789, Issue 3

Mikhail V Afanasiev gorefest.c at gmail.com
Wed Dec 12 09:33:28 UTC 2018


Отмена

12 дек. 2018 г. 14:30 пользователь <freebsd-current-request at freebsd.org>
написал:

Send freebsd-current mailing list submissions to
        freebsd-current at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
        freebsd-current-request at freebsd.org

You can reach the person managing the list at
        freebsd-current-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: Composite PCI devices in FreeBSD (mfd in Linux) (Emiel Kollof)
   2. FreeBSD 12.0 RC3 PPC report (Alex McKeever)
   3. pkg-base noise (Sean Bruno)
   4. Re: pkg-base noise (Ian Lepore)
   5. Linux is considering dropping x32. (Alexandre C. Guimar?es)
   6. Re: Linux is considering dropping x32. (Kris Moore)
   7. Re: Linux is considering dropping x32. (Konstantin Belousov)
   8. Re: Linux is considering dropping x32. (Kris Moore)
   9. Re: Linux is considering dropping x32. (Jung-uk Kim)
  10. Re: Linux is considering dropping x32. (Nathan Whitehorn)
  11. Re: Linux is considering dropping x32. (Hadi Rezaee)
  12. r111 build error (Lev Serebryakov)
  13. Re: r341836 build error (Lev Serebryakov)
  14. test (Sean Bruno)
  15. head -r341836 (jump to clang 7): amd64 -> armv7 cross build
      failed: ld: error: unable to find library -lh_csu (Mark Millard)
  16. Re: Composite PCI devices in FreeBSD (mfd in Linux)
      (Anthony Jenkins)
  17. Re: r111 build error (Gary Jennejohn)
  18. Re: r111 build error (O. Hartmann)


----------------------------------------------------------------------

Message: 1
Date: Tue, 11 Dec 2018 15:02:52 +0100
From: Emiel Kollof <coolvibe at hackerheaven.org>
To: Anthony Jenkins <Scoobi_doo at yahoo.com>
Cc: FreeBSD CURRENT <freebsd-current at freebsd.org>,
        owner-freebsd-current at freebsd.org
Subject: Re: Composite PCI devices in FreeBSD (mfd in Linux)
Message-ID: <d665e13578b9e6814e57ac491d494463 at hackerheaven.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Anthony Jenkins schreef op 2018-12-10 18:00:

> Hi all,
>
> I'm trying to port an Intel PCI I2C controller from Linux to FreeBSD.
> Linux represents this device as an MFD (multi-function device), meaning
> it has these "sub-devices" that can be handed off to other drivers to
> actually attach devices to the system.  The Linux "super" PCI device is
> the intel-lpss-pci.c, and the "sub" device is i2c-designware-platdrv.c,
> which represents the DesignWare driver's "platform" attachment to the
> Linux system.  FreeBSD also has a DesignWare I2C controller driver,
> ig4(4), but it only has PCI and ACPI bus attachment implementations.

Might this also be relevant for i2c-hid devices, like some touchpads
(Elantech for example)?

Cheers,
Emiel


------------------------------

Message: 2
Date: Tue, 11 Dec 2018 13:45:06 +0000 (UTC)
From: Alex McKeever <alex.mckeever at sbcglobal.net>
To: FreeBSD Current <freebsd-current at freebsd.org>
Subject: FreeBSD 12.0 RC3 PPC report
Message-ID: <948957337.2497926.1544535906257 at mail.yahoo.com>
Content-Type: text/plain; charset=UTF-8

It?s working fine on my eMac G4/1.25 GHz retail model. The CDE Desktop
Environment is oddly broken, but I am pleased to report that most of the
packages I?ve compiled have done so successfully unlike 11.1!


Sent from Yahoo Mail for iPhone


------------------------------

Message: 3
Date: Tue, 11 Dec 2018 11:40:05 -0700
From: Sean Bruno <sbruno at freebsd.org>
To: freebsd-current <freebsd-current at freebsd.org>
Subject: pkg-base noise
Message-ID: <b3f07546-73b5-348a-c84a-a1acfb4c9e08 at freebsd.org>
Content-Type: text/plain; charset="utf-8"

make[8]: "/home/sbruno/bsd/fbsd_head/share/mk/bsd.files.mk" line 92:
warning: duplicate script for target "_testsFILESINS_cleanup.ksh" ignored
make[8]: "/home/sbruno/bsd/fbsd_head/share/mk/bsd.files.mk" line 92:
warning: using previous script for "_testsFILESINS_cleanup.ksh" defined here


Is this something easily fixable?  I'm unclear what is throwing a
warning here?

sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <
http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181211/a0bbc9c2/attachment-0001.sig
>

------------------------------

Message: 4
Date: Tue, 11 Dec 2018 12:14:15 -0700
From: Ian Lepore <ian at freebsd.org>
To: Sean Bruno <sbruno at freebsd.org>, freebsd-current
        <freebsd-current at freebsd.org>
Subject: Re: pkg-base noise
Message-ID: <1544555655.44045.13.camel at freebsd.org>
Content-Type: text/plain; charset="ISO-8859-1"

On Tue, 2018-12-11 at 11:40 -0700, Sean Bruno wrote:
> make[8]: "/home/sbruno/bsd/fbsd_head/share/mk/bsd.files.mk" line 92:
> warning: duplicate script for target "_testsFILESINS_cleanup.ksh"
> ignored
> make[8]: "/home/sbruno/bsd/fbsd_head/share/mk/bsd.files.mk" line 92:
> warning: using previous script for "_testsFILESINS_cleanup.ksh"
> defined here
>
>
> Is this something easily fixable???I'm unclear what is throwing a
> warning here?
>
> sean
>

Looks like some makefile has cleanup.ksh listed twice in a FILES= list.

-- Ian


------------------------------

Message: 5
Date: Tue, 11 Dec 2018 19:01:06 -0200
From: Alexandre C. Guimar?es <rigoletto at FreeBSD.org>
To: freebsd-current at freebsd.org
Subject: Linux is considering dropping x32.
Message-ID: <20181211210106.nq4ucrnasmfnxog7 at privacychain.ch>
Content-Type: text/plain; charset="utf-8"

Hi.

This is just informative.

Apparently Linux is considering deprecate x32 support:

https://lkml.org/lkml/2018/12/10/1151

Cheers!

-- 
Best Regards,
Alexandre C. Guimar?es.
https://bitbucket.org/rigoletto-freebsd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <
http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181211/8e0e0de7/attachment-0001.sig
>

------------------------------

Message: 6
Date: Tue, 11 Dec 2018 16:04:15 -0500
From: Kris Moore <kris at ixsystems.com>
To: freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID: <99a1c6da-595e-c56d-c66a-d2fad81421bb at ixsystems.com>
Content-Type: text/plain; charset=utf-8

On 12/11/18 4:01 PM, Alexandre C. Guimar?es wrote:
> Hi.
>
> This is just informative.
>
> Apparently Linux is considering deprecate x32 support:
>
> https://lkml.org/lkml/2018/12/10/1151
>
> Cheers!
>

Hey that's great! Now that the precedent is set, we start the timer to
deprecate on FreeBSD in roughly 10 years now :)

-- 
Kris Moore
Vice President of Engineering
iXsystems, Inc
Ph: (408) 943-4100
Ph: (408) 943-4101
The Groundbreaking TrueNAS M-Series -
Enterprise Storage & Servers Driven By Open Source



------------------------------

Message: 7
Date: Tue, 11 Dec 2018 23:15:44 +0200
From: Konstantin Belousov <kostikbel at gmail.com>
To: Kris Moore <kris at ixsystems.com>
Cc: freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID: <20181211211544.GH60291 at kib.kiev.ua>
Content-Type: text/plain; charset=utf-8

On Tue, Dec 11, 2018 at 04:04:15PM -0500, Kris Moore wrote:
> On 12/11/18 4:01 PM, Alexandre C. Guimar?es wrote:
> > Hi.
> >
> > This is just informative.
> >
> > Apparently Linux is considering deprecate x32 support:
> >
> > https://lkml.org/lkml/2018/12/10/1151
> >
> > Cheers!
> >
>
> Hey that's great! Now that the precedent is set, we start the timer to
> deprecate on FreeBSD in roughly 10 years now :)

Fine, but we would need to implement it first.


------------------------------

Message: 8
Date: Tue, 11 Dec 2018 16:17:52 -0500
From: Kris Moore <kris at ixsystems.com>
To: Konstantin Belousov <kostikbel at gmail.com>
Cc: freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID: <b402e5f4-6006-1cb1-fc40-42d02cb1858b at ixsystems.com>
Content-Type: text/plain; charset=utf-8

On 12/11/18 4:15 PM, Konstantin Belousov wrote:
> On Tue, Dec 11, 2018 at 04:04:15PM -0500, Kris Moore wrote:
>> On 12/11/18 4:01 PM, Alexandre C. Guimar?es wrote:
>>> Hi.
>>>
>>> This is just informative.
>>>
>>> Apparently Linux is considering deprecate x32 support:
>>>
>>> https://lkml.org/lkml/2018/12/10/1151
>>>
>>> Cheers!
>>>
>> Hey that's great! Now that the precedent is set, we start the timer to
>> deprecate on FreeBSD in roughly 10 years now :)
> Fine, but we would need to implement it first.

I should read closer, I mis-read that as i386 ;)

Snarky comment withdrawn!

-- 
Kris Moore
Vice President of Engineering
iXsystems, Inc
Ph: (408) 943-4100
Ph: (408) 943-4101
The Groundbreaking TrueNAS M-Series -
Enterprise Storage & Servers Driven By Open Source



------------------------------

Message: 9
Date: Tue, 11 Dec 2018 16:21:02 -0500
From: Jung-uk Kim <jkim at FreeBSD.org>
To: Alexandre C. Guimar?es <rigoletto at FreeBSD.org>,
        freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID: <d62ef54f-5ca4-6ad0-f8e7-66511a5acb4e at FreeBSD.org>
Content-Type: text/plain; charset="utf-8"

On 18. 12. 11., Alexandre C. Guimar?es wrote:
> Hi.
>
> This is just informative.
>
> Apparently Linux is considering deprecate x32 support:
>
> https://lkml.org/lkml/2018/12/10/1151

x32 != i386

https://en.wikipedia.org/wiki/X32_ABI

FYI, FreeBSD never supported x32 ABI.

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <
http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181211/b969a83d/attachment-0001.sig
>

------------------------------

Message: 10
Date: Tue, 11 Dec 2018 13:12:48 -0800
From: Nathan Whitehorn <nwhitehorn at freebsd.org>
To: freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID: <8ae3851e-16b2-2b37-4540-1282961697a8 at freebsd.org>
Content-Type: text/plain; charset=utf-8



On 12/11/18 1:04 PM, Kris Moore wrote:
> On 12/11/18 4:01 PM, Alexandre C. Guimar?es wrote:
>> Hi.
>>
>> This is just informative.
>>
>> Apparently Linux is considering deprecate x32 support:
>>
>> https://lkml.org/lkml/2018/12/10/1151
>>
>> Cheers!
>>
> Hey that's great! Now that the precedent is set, we start the timer to
> deprecate on FreeBSD in roughly 10 years now :)
>

Or maybe we are ahead of the game since we never supported x32 in the
first place?
-Nathan


------------------------------

Message: 11
Date: Wed, 12 Dec 2018 01:02:48 +0330
From: Hadi Rezaee <rezaee.hadi at gmail.com>
To: Nathan Whitehorn <nwhitehorn at freebsd.org>
Cc: freebsd-current at freebsd.org
Subject: Re: Linux is considering dropping x32.
Message-ID:
        <CAKmZKypbUMAjucG5VG_aT1s69owg9J4WXrS1S49ZrSJdpr4RAQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

:)))


On Wed, Dec 12, 2018 at 12:56 AM Nathan Whitehorn <nwhitehorn at freebsd.org>
wrote:

>
>
> On 12/11/18 1:04 PM, Kris Moore wrote:
> > On 12/11/18 4:01 PM, Alexandre C. Guimar?es wrote:
> >> Hi.
> >>
> >> This is just informative.
> >>
> >> Apparently Linux is considering deprecate x32 support:
> >>
> >> https://lkml.org/lkml/2018/12/10/1151
> >>
> >> Cheers!
> >>
> > Hey that's great! Now that the precedent is set, we start the timer to
> > deprecate on FreeBSD in roughly 10 years now :)
> >
>
> Or maybe we are ahead of the game since we never supported x32 in the
> first place?
> -Nathan
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


------------------------------

Message: 12
Date: Wed, 12 Dec 2018 02:11:10 +0300
From: Lev Serebryakov <lev at FreeBSD.org>
To: freebsd-current at freebsd.org
Subject: r111 build error
Message-ID: <1348923530.20181212021110 at serebryakov.spb.ru>
Content-Type: text/plain; charset=us-ascii

Hello Freebsd-current,

 I'm building very last r341836 (with new llvm/clang 7) on r341726 and get
this build
error (with MALLOC_PRODUCTION=yes):

===> usr.bin/clang/clang (all)
c++ -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
-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
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=\"\"
-DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
-DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC
-DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInitia
 lizeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC
-ffunction-sections -fdata-sections -gline-tables-only
-fstack-protector-strong -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 -Wno-parentheses
-Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++
-Wno-c++11-extensions  -Wl,--gc-sections -static  -o clang.full  cc1_main.o
cc1as_main.o cc1gen_reproducer_main.o driver.o
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm/libllvm.a  -lz  -lncursesw
-lpthread
ld: error: undefined symbol: clang::LocationContext::getCurrentStackFrame()
const
>>> referenced by ExplodedGraph.h:138
(/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:138)
>>>               ReturnUndefChecker.o:(void
clang::ento::check::PreStmt<clang::ReturnStmt>::_checkStmt<(anonymous
namespace)::ReturnUndefChecker>(void*, clang::Stmt const*,
clang::ento::CheckerContext&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::CallExpr::getLocStart() const
>>> referenced by MacOSXAPIChecker.cpp:86
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp:86)
>>>               MacOSXAPIChecker.o:((anonymous
namespace)::MacOSXAPIChecker::CheckDispatchOnce(clang::ento::CheckerContext&,
clang::CallExpr const*, llvm::StringRef) const) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::Stmt::getLocStart() const
>>> referenced by DeadStoresChecker.cpp:265
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp:265)
>>>               DeadStoresChecker.o:((anonymous
namespace)::DeadStoreObs::observeStmt(clang::Stmt const*, clang::CFGBlock
const*, clang::LiveVariables::LivenessValues const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::CodeSegAttr::clone(clang::ASTContext&)
const
>>> referenced by SemaDecl.cpp:0
(/usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:0)
>>>
 SemaDecl.o:(clang::Sema::getImplicitCodeSegOrSectionAttrForFunction(clang::FunctionDecl
const*, bool)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::ArtificialAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:150
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:150)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::CPUDispatchAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:243
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:243)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::CodeSegAttr::clone(clang::ASTContext&)
const
>>> referenced by AttrTemplateInstantiate.inc:303
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:303)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::LifetimeBoundAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:502
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:502)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::RISCVInterruptAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:881
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:881)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::TrivialABIAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:1040
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:1040)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::OMPReferencedVarAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:707
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:707)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::AnyX86NoCfCheckAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:138
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:138)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::MinVectorWidthAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:575
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:575)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::NoStackProtectorAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:671
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:671)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
ld: error: undefined symbol:
clang::CPUSpecificAttr::clone(clang::ASTContext&) const
>>> referenced by AttrTemplateInstantiate.inc:247
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:247)
>>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol:
clang::HeaderSearch::lookupModule(llvm::StringRef, bool)
>>> referenced by GeneratePCH.cpp:51
(/usr/src/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp:51)
>>>
 GeneratePCH.o:(clang::PCHGenerator::HandleTranslationUnit(clang::ASTContext&))
in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::Stmt::getLocStart() const
>>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
>>>
 SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::Stmt::getLocStart() const
>>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
>>>
 SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::Stmt::getLocStart() const
>>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
>>>
 SelectorLocationsKind.o:(clang::getStandardSelectorLoc(unsigned int,
clang::Selector, bool, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: undefined symbol: clang::operator<<(llvm::raw_ostream&,
clang::VersionTuple const&)
>>> referenced by AttrImpl.inc:1216
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/AST/AttrImpl.inc:1216)
>>>
 AttrImpl.o:(clang::AvailabilityAttr::printPretty(llvm::raw_ostream&,
clang::PrintingPolicy const&) const) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see
all errors)
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [clang.full] Error code 1



-- 
Best regards,
 Lev                          mailto:lev at FreeBSD.org

------------------------------

Message: 13
Date: Wed, 12 Dec 2018 02:12:28 +0300
From: Lev Serebryakov <lev at FreeBSD.org>
To: freebsd-current at freebsd.org
Subject: Re: r341836 build error
Message-ID: <927465227.20181212021228 at serebryakov.spb.ru>
Content-Type: text/plain; charset=us-ascii

Hello Lev,

Wednesday, December 12, 2018, 2:11:10 AM, you wrote:

 Sorry for messed up subject, I mean r341836 of course.

-- 
Best regards,
 Lev                            mailto:lev at FreeBSD.org



------------------------------

Message: 14
Date: Tue, 11 Dec 2018 17:30:26 -0700
From: Sean Bruno <sbruno at freebsd.org>
To: freebsd-current <freebsd-current at freebsd.org>
Subject: test
Message-ID: <9a688812-6a29-be74-9727-d6c2d4847502 at freebsd.org>
Content-Type: text/plain; charset="utf-8"

Just testing mailing lists.  Delete.

sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <
http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181211/c094cd0f/attachment-0001.sig
>

------------------------------

Message: 15
Date: Tue, 11 Dec 2018 17:27:23 -0800
From: Mark Millard <marklmi at yahoo.com>
To: Dimitry Andric <dim at freebsd.org>, FreeBSD Toolchain
        <freebsd-toolchain at freebsd.org>, freebsd-arm
        <freebsd-arm at freebsd.org>, FreeBSD Current
        <freebsd-current at freebsd.org>
Subject: head -r341836 (jump to clang 7): amd64 -> armv7 cross build
        failed: ld: error: unable to find library -lh_csu
Message-ID: <4FCADEF8-E47F-47B0-94F0-7AF1B34004E0 at yahoo.com>
Content-Type: text/plain;       charset=us-ascii

[This was after amd64 updating to -r341836 successfully ( from -r341766 ).
The below was a meta-mode cross build, also going from -r341766 to
-r341836 .]

#
~/sys_build_scripts.amd64-host/make_armv7_nodebug_clang_bootstrap-amd64-host.sh
-j28 buildworld buildkernel
Script started, output file is
/root/sys_typescripts/typescript_make_armv7_nodebug_clang_bootstrap-amd64-host-2018-12-11:17:02:35
--- buildworld ---
make[1]: "/usr/src/Makefile.inc1" line 347: SYSTEM_COMPILER: Determined
that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 352: SYSTEM_LINKER: Determined that
LD=ld matches the source tree.  Not bootstrapping a cross-linker.
--- buildworld_prologue ---
. . .
--- all_subdir_lib ---
--- all_subdir_lib/csu/tests/dynamiclib ---
--- init_test.full ---
ld: error: unable to find library -lh_csu
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/bsdiff ---
===> usr.bin/bsdiff (all)
--- all_subdir_lib ---
*** [init_test.full] Error code 1

make[7]: stopped in /usr/src/lib/csu/tests/dynamiclib
.ERROR_TARGET='init_test.full'
.ERROR_META_FILE='/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/csu/tests/dynamiclib/init_test.full.meta'
.MAKE.LEVEL='7'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='c++ -mcpu=cortex-a7 -mcpu=cortex-a7 -target
armv7-gnueabihf-freebsd13.0
--sysroot=/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp
-B/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/bin -O -pipe
-DDSO_BASE -I/usr/src/lib/csu/arm -g -Wsystem-headers -Wall -Wno-format-y2k
-W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -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 -Qunused-arguments -Wno-c++11-extensions
-Wl,-rpath,/usr/tests/lib/csu/dynamiclib
-L/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/csu/tests/dso
-Wl,--no-threads -o init_test.full  init_test.o -lh_csu -lprivateatf-c++
-lprivateatf-c -lprivateatf-c;'
.CURDIR='/usr/src/lib/csu/tests/dynamiclib'
.MAKE='make'
.OBJDIR='/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/csu/tests/dynamiclib'
.TARGETS=' all'
--- all_subdir_share ---
A failure has been detected in another branch of the parallel make
--- all_subdir_lib ---
DESTDIR='/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp'
LD_LIBRARY_PATH=''
MACHINE='arm'
MACHINE_ARCH='armv7'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20180919'
PATH='/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/sbin:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/bin:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/legacy/usr/sbin:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/legacy/usr/bin:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7'

I've not yet tried targeting aarch64, powerpc64, or powerpc .



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



------------------------------

Message: 16
Date: Tue, 11 Dec 2018 22:26:36 -0500
From: Anthony Jenkins <Scoobi_doo at yahoo.com>
To: Emiel Kollof <coolvibe at hackerheaven.org>
Cc: FreeBSD CURRENT <freebsd-current at freebsd.org>,
        owner-freebsd-current at freebsd.org
Subject: Re: Composite PCI devices in FreeBSD (mfd in Linux)
Message-ID: <d52f190c-0230-4b6f-eef9-31371d940ba6 at yahoo.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On 12/11/18 9:02 AM, Emiel Kollof wrote:
> Anthony Jenkins schreef op 2018-12-10 18:00:
>
>> Hi all,
>>
>> I'm trying to port an Intel PCI I2C controller from Linux to
>> FreeBSD.? Linux represents this device as an MFD (multi-function
>> device), meaning it has these "sub-devices" that can be handed off to
>> other drivers to actually attach devices to the system. The Linux
>> "super" PCI device is the intel-lpss-pci.c, and the "sub" device is
>> i2c-designware-platdrv.c, which represents the DesignWare driver's
>> "platform" attachment to the Linux system. FreeBSD also has a
>> DesignWare I2C controller driver, ig4(4), but it only has PCI and
>> ACPI bus attachment implementations.
>
> Might this also be relevant for i2c-hid devices, like some touchpads
> (Elantech for example)?

Theoretically, yes.? Once this I2C controller is added, then the
parallel effort to add support for I2C HID devices should add support
for Elantech I2C touchpads.

The bit I'm doing (support for an Intel MFD I2C controller) is based on
an old thread on mobile at .? I just recently obtained a laptop that has a
couple such I2C controllers (touchpad works, but touchscreen doesn't).

Original Elantech touchpad support thread -
https://lists.freebsd.org/pipermail/freebsd-mobile/2017-August/013617.html
FreeBSD i2c-hid support - https://reviews.freebsd.org/D16698

Anthony

>
> Cheers,
> Emiel



------------------------------

Message: 17
Date: Wed, 12 Dec 2018 10:06:02 +0100
From: Gary Jennejohn <gljennjohn at gmail.com>
To: Lev Serebryakov <lev at FreeBSD.org>
Cc: freebsd-current at freebsd.org
Subject: Re: r111 build error
Message-ID: <20181212100602.332da246 at ernst.home>
Content-Type: text/plain; charset=US-ASCII

On Wed, 12 Dec 2018 02:11:10 +0300
Lev Serebryakov <lev at FreeBSD.org> wrote:

> Hello Freebsd-current,
>
>  I'm building very last r341836 (with new llvm/clang 7) on r341726 and
get this build
> error (with MALLOC_PRODUCTION=yes):
>

Worked for me from r341824 to r341840, but I deleted /usr/obj/usr
before starting the build.  I even added MALLOC_PRODUCTION=yes to
/etc/src.conf.

> ===> usr.bin/clang/clang (all)
> c++ -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
-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
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=\"\"
-DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
-DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC
-DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInit
 ia
>  lizeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC
-ffunction-sections -fdata-sections -gline-tables-only
-fstack-protector-strong -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 -Wno-parentheses
-Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++
-Wno-c++11-extensions  -Wl,--gc-sections -static  -o clang.full  cc1_main.o
cc1as_main.o cc1gen_reproducer_main.o driver.o
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm/libllvm.a  -lz  -lncursesw
-lpthread
> ld: error: undefined symbol:
clang::LocationContext::getCurrentStackFrame() const
> >>> referenced by ExplodedGraph.h:138
(/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:138)
> >>>               ReturnUndefChecker.o:(void
clang::ento::check::PreStmt<clang::ReturnStmt>::_checkStmt<(anonymous
namespace)::ReturnUndefChecker>(void*, clang::Stmt const*,
clang::ento::CheckerContext&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::CallExpr::getLocStart() const
> >>> referenced by MacOSXAPIChecker.cpp:86
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp:86)
> >>>               MacOSXAPIChecker.o:((anonymous
namespace)::MacOSXAPIChecker::CheckDispatchOnce(clang::ento::CheckerContext&,
clang::CallExpr const*, llvm::StringRef) const) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::Stmt::getLocStart() const
> >>> referenced by DeadStoresChecker.cpp:265
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp:265)
> >>>               DeadStoresChecker.o:((anonymous
namespace)::DeadStoreObs::observeStmt(clang::Stmt const*, clang::CFGBlock
const*, clang::LiveVariables::LivenessValues const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::CodeSegAttr::clone(clang::ASTContext&) const
> >>> referenced by SemaDecl.cpp:0
(/usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:0)
> >>>
 SemaDecl.o:(clang::Sema::getImplicitCodeSegOrSectionAttrForFunction(clang::FunctionDecl
const*, bool)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::ArtificialAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:150
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:150)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::CPUDispatchAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:243
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:243)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::CodeSegAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:303
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:303)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::LifetimeBoundAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:502
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:502)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::RISCVInterruptAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:881
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:881)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::TrivialABIAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:1040
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:1040)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::OMPReferencedVarAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:707
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:707)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::AnyX86NoCfCheckAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:138
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:138)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::MinVectorWidthAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:575
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:575)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::NoStackProtectorAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:671
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:671)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> ld: error: undefined symbol:
clang::CPUSpecificAttr::clone(clang::ASTContext&) const
> >>> referenced by AttrTemplateInstantiate.inc:247
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:247)
> >>>
 SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol:
clang::HeaderSearch::lookupModule(llvm::StringRef, bool)
> >>> referenced by GeneratePCH.cpp:51
(/usr/src/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp:51)
> >>>
 GeneratePCH.o:(clang::PCHGenerator::HandleTranslationUnit(clang::ASTContext&))
in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::Stmt::getLocStart() const
> >>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> >>>
 SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::Stmt::getLocStart() const
> >>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> >>>
 SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::Stmt::getLocStart() const
> >>> referenced by SelectorLocationsKind.cpp:52
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> >>>
 SelectorLocationsKind.o:(clang::getStandardSelectorLoc(unsigned int,
clang::Selector, bool, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: undefined symbol: clang::operator<<(llvm::raw_ostream&,
clang::VersionTuple const&)
> >>> referenced by AttrImpl.inc:1216
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/AST/AttrImpl.inc:1216)
> >>>
 AttrImpl.o:(clang::AvailabilityAttr::printPretty(llvm::raw_ostream&,
clang::PrintingPolicy const&) const) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
>
> ld: error: too many errors emitted, stopping now (use -error-limit=0 to
see all errors)
> c++: error: linker command failed with exit code 1 (use -v to see
invocation)
> *** [clang.full] Error code 1
>
>
>
> --
> Best regards,
>  Lev                          mailto:lev at FreeBSD.org
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


-- 
Gary Jennejohn


------------------------------

Message: 18
Date: Wed, 12 Dec 2018 10:24:28 +0100
From: "O. Hartmann" <ohartmann at walstatt.org>
To: Gary Jennejohn <gljennjohn at gmail.com>
Cc: Lev Serebryakov <lev at FreeBSD.org>, freebsd-current at freebsd.org
Subject: Re: r111 build error
Message-ID: <20181212102455.102e8024 at thor.intern.walstatt.dynvpn.de>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Wed, 12 Dec 2018 10:06:02 +0100
Gary Jennejohn <gljennjohn at gmail.com> schrieb:

> On Wed, 12 Dec 2018 02:11:10 +0300
> Lev Serebryakov <lev at FreeBSD.org> wrote:
>
> > Hello Freebsd-current,
> >
> >  I'm building very last r341836 (with new llvm/clang 7) on r341726 and
get this build
> > error (with MALLOC_PRODUCTION=yes):
> >
>
> Worked for me from r341824 to r341840, but I deleted /usr/obj/usr
> before starting the build.  I even added MALLOC_PRODUCTION=yes to
> /etc/src.conf.

A "me, too" from here. I have also MALLOC_PRODUCTION=yes in /etc/src.conf,
but I did, as
usual, a "make cleanworld" prior to the sebsequent system's
buildworld/buildkernel.

>
> > ===> usr.bin/clang/clang (all)
> > c++ -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
> > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe
> > -I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang
> > -I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
> > -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
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\"
> > -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=\"\"
> > -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
-DLLVM_TARGET_ENABLE_MIPS
> > -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC
-DLLVM_TARGET_ENABLE_X86
> > -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
> > -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
> > -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
> > -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInit
>  ia
> >  lizeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC
> > -ffunction-sections -fdata-sections -gline-tables-only
-fstack-protector-strong
> > -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 -Wno-parentheses -Qunused-arguments
-std=c++11
> > -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions
-Wl,--gc-sections
> > -static  -o clang.full  cc1_main.o cc1as_main.o cc1gen_reproducer_main.o
> > driver.o /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm/libllvm.a
> > -lz  -lncursesw  -lpthread ld: error: undefined symbol:
> > clang::LocationContext::getCurrentStackFrame() const
> > >>> referenced by ExplodedGraph.h:138
> > >>>
(/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:138)
> > >>> ReturnUndefChecker.o:(void
> > >>>
clang::ento::check::PreStmt<clang::ReturnStmt>::_checkStmt<(anonymous
> > >>> namespace)::ReturnUndefChecker>(void*, clang::Stmt const*,
> > >>> clang::ento::CheckerContext&)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::CallExpr::getLocStart() const
> > >>> referenced by MacOSXAPIChecker.cpp:86
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp:86)
> > >>> MacOSXAPIChecker.o:((anonymous
> > >>>
namespace)::MacOSXAPIChecker::CheckDispatchOnce(clang::ento::CheckerContext&,
> > >>> clang::CallExpr const*, llvm::StringRef) const) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::Stmt::getLocStart() const
> > >>> referenced by DeadStoresChecker.cpp:265
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp:265)
> > >>> DeadStoresChecker.o:((anonymous
namespace)::DeadStoreObs::observeStmt(clang::Stmt
> > >>> const*, clang::CFGBlock const*,
clang::LiveVariables::LivenessValues const&)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol:
clang::CodeSegAttr::clone(clang::ASTContext&) const
> > >>> referenced by SemaDecl.cpp:0
> > >>> (/usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:0)
> > >>>
SemaDecl.o:(clang::Sema::getImplicitCodeSegOrSectionAttrForFunction(clang::FunctionDecl
> > >>> const*, bool)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol:
clang::ArtificialAttr::clone(clang::ASTContext&) const
> > >>> referenced by AttrTemplateInstantiate.inc:150
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:150)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::CPUDispatchAttr::clone(clang::ASTContext&) const
> > >>> referenced by AttrTemplateInstantiate.inc:243
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:243)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::CodeSegAttr::clone(clang::ASTContext&) const
> > >>> referenced by AttrTemplateInstantiate.inc:303
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:303)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::LifetimeBoundAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:502
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:502)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::RISCVInterruptAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:881
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:881)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::TrivialABIAttr::clone(clang::ASTContext&) const
> > >>> referenced by AttrTemplateInstantiate.inc:1040
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:1040)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::OMPReferencedVarAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:707
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:707)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::AnyX86NoCfCheckAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:138
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:138)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::MinVectorWidthAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:575
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:575)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::NoStackProtectorAttr::clone(clang::ASTContext&)
> > const
> > >>> referenced by AttrTemplateInstantiate.inc:671
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:671)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> > ld: error: undefined symbol:
clang::CPUSpecificAttr::clone(clang::ASTContext&) const
> > >>> referenced by AttrTemplateInstantiate.inc:247
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:247)
> > >>>
SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr
> > >>> const*, clang::ASTContext&, clang::Sema&,
clang::MultiLevelTemplateArgumentList
> > >>> const&)) in archive
/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> >
> > ld: error: undefined symbol:
clang::HeaderSearch::lookupModule(llvm::StringRef,
> > bool)
> > >>> referenced by GeneratePCH.cpp:51
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp:51)
> > >>>
GeneratePCH.o:(clang::PCHGenerator::HandleTranslationUnit(clang::ASTContext&))
in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::Stmt::getLocStart() const
> > >>> referenced by SelectorLocationsKind.cpp:52
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> > >>>
SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
> > >>> llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
> > >>> clang::SourceLocation)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::Stmt::getLocStart() const
> > >>> referenced by SelectorLocationsKind.cpp:52
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> > >>>
SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector,
> > >>> llvm::ArrayRef<clang::SourceLocation>, llvm::ArrayRef<clang::Expr*>,
> > >>> clang::SourceLocation)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::Stmt::getLocStart() const
> > >>> referenced by SelectorLocationsKind.cpp:52
> > >>>
(/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52)
> > >>> SelectorLocationsKind.o:(clang::getStandardSelectorLoc(unsigned int,
> > >>> clang::Selector, bool, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation)) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: undefined symbol: clang::operator<<(llvm::raw_ostream&,
> > clang::VersionTuple const&)
> > >>> referenced by AttrImpl.inc:1216
> > >>>
(/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/AST/AttrImpl.inc:1216)
> > >>> AttrImpl.o:(clang::AvailabilityAttr::printPretty(llvm::raw_ostream&,
> > >>> clang::PrintingPolicy const&) const) in
> > >>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a

> >
> > ld: error: too many errors emitted, stopping now (use -error-limit=0 to
see all
> > errors) c++: error: linker command failed with exit code 1 (use -v to
see invocation)
> > *** [clang.full] Error code 1
> >
> >
> >
> > --
> > Best regards,
> >  Lev                          mailto:lev at FreeBSD.org
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
freebsd-current-unsubscribe at freebsd.org"
>
>



- --
O. Hartmann

Ich widerspreche der Nutzung oder ?bermittlung meiner Daten f?r
Werbezwecke oder f?r die Markt- oder Meinungsforschung (? 28 Abs. 4 BDSG).
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCXBDT5wAKCRDS528fyFhY
lMU8AgCbP9fRIsLurpP16FzNDWdw+LbVaxg9lQkz9T2S/b/PJeJ0KOSpojBPWZS3
2U/58wnGiXKZqzfQb4F/yhNkToPnAf94cCgtgl1qSlLOIY9gXw+3dkkkf3MNJkV9
ITem1iTJ/2WZXpJf72jO5gBRXVErwGe7IegpWlIqZU4c381KA9b1
=nOjO
-----END PGP SIGNATURE-----

------------------------------

Subject: Digest Footer

_______________________________________________
freebsd-current at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


------------------------------

End of freebsd-current Digest, Vol 789, Issue 3
***********************************************


More information about the freebsd-current mailing list