Re: Problems with our libgcc_s.so in base [FYI: armv6 C++/g++6 example under stable/11 -r304029]

2016-08-22 Thread David Chisnall
On 21 Aug 2016, at 22:23, Mark Millard  wrote:
> 
> On armv6 (an rpi2) C++ by itself can have /lib/libgcc_s.so.1 not being 
> sufficient, for example with g++6 being used: 
> 
>> # g++6 -std=c++14 -O2 cpp_clocks_investigation.cpp
>> # ldd a.out
>> a.out:
>>libstdc++.so.6 => /usr/local/lib/gcc6/libstdc++.so.6 (0x2010)
>>libm.so.5 => /lib/libm.so.5 (0x20053000)
>>libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x20076000)
>>libc.so.7 => /lib/libc.so.7 (0x2030)
>> # ./a.out
>> /usr/local/lib/gcc6/libstdc++.so.6: Undefined symbol "__aeabi_uldivmod"
> 

The problem appears to be that we’ve not imported (all of?) the ARM-specific 
bits of compiler-rt.  For example, this function is provided upstream:

http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S?revision=273500&view=markup

David



smime.p7s
Description: S/MIME cryptographic signature


[Bug 192320] Use of thread_local produces linking errors on system version of clang++

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #15 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bdrewery
Date: Mon Aug 22 15:52:04 UTC 2016
New revision: 304608
URL: https://svnweb.freebsd.org/changeset/base/304608

Log:
  Bump __FreeBSD_version for C++11 thread_local support in r303795.

  PR:   192320

Changes:
  head/sys/sys/param.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 192320] Use of thread_local produces linking errors on system version of clang++

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #16 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bdrewery
Date: Mon Aug 22 15:53:33 UTC 2016
New revision: 304609
URL: https://svnweb.freebsd.org/changeset/base/304609

Log:
  MFC r304608:

Bump __FreeBSD_version for C++11 thread_local support in r303795.

  PR:   192320

Changes:
_U  stable/11/
  stable/11/sys/sys/param.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 192320] Use of thread_local produces linking errors on system version of clang++

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #17 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bdrewery
Date: Mon Aug 22 16:04:25 UTC 2016
New revision: 304610
URL: https://svnweb.freebsd.org/changeset/base/304610

Log:
  MFS r304609:

MFC r304608:

  Bump __FreeBSD_version for C++11 thread_local support in r303795.

  PR: 192320
  Approved by:  re (gjb)

Changes:
_U  releng/11.0/
  releng/11.0/sys/sys/param.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 192320] Use of thread_local produces linking errors on system version of clang++

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #18 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bdrewery
Date: Mon Aug 22 16:35:51 UTC 2016
New revision: 304611
URL: https://svnweb.freebsd.org/changeset/base/304611

Log:
  MFC r304608:

Bump __FreeBSD_version for C++11 thread_local support in r303795.

  PR:   192320

Changes:
_U  stable/10/
  stable/10/sys/sys/param.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 192320] Use of thread_local produces linking errors on system version of clang++

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

Bryan Drewery  changed:

   What|Removed |Added

 Status|In Progress |Closed
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"