Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Boost & aarch64
@ 2020-12-24 10:36 unspecd
  2020-12-24 10:36 ` unspecd
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: unspecd @ 2020-12-24 10:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]

New issue by unspecd on void-packages repository

https://github.com/void-linux/void-packages/issues/27398

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *Void 5.10.2_1 x86_64-musl GenuineIntel uptodate rrrnFFFFFFFFF*
* package:  
  *boost-1.72.0_4*

I'm trying to build `gnucash` for `aarch64-musl`:

```sh
[ 96%] Linking CXX executable ../bin/gnucash
/usr/lib/gcc/aarch64-linux-musl/9.3.0/../../../../aarch64-linux-musl/bin/ld: ../lib/gnucash/libgnc-csv-import.so: undefined reference to `boost::icu_regex_traits::isctype(int, unsigned long) const'
/usr/lib/gcc/aarch64-linux-musl/9.3.0/../../../../aarch64-linux-musl/bin/ld: ../lib/gnucash/libgnc-csv-import.so: undefined reference to `boost::re_detail_107200::icu_regex_traits_implementation::do_transform(int const*, int const*, icu_67::Collator const*) const'
/usr/lib/gcc/aarch64-linux-musl/9.3.0/../../../../aarch64-linux-musl/bin/ld: ../lib/gnucash/libgnc-csv-import.so: undefined reference to `boost::basic_regex<int, boost::icu_regex_traits>::do_assign(int const*, int const*, unsigned int)'
```

### Steps to reproduce the behavior
```sh
$ echo 'make_build_args="VERBOSE=1 gnucash"' >> srcpkgs/gnucash/template
$ ./xbps-src -a aarch64-musl build gnucash
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Boost & aarch64
  2020-12-24 10:36 [ISSUE] Boost & aarch64 unspecd
@ 2020-12-24 10:36 ` unspecd
  2020-12-24 12:37 ` unspecd
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2020-12-24 10:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/issues/27398#issuecomment-750841470

Comment:
https://github.com/void-linux/void-packages/pull/27320#issuecomment-750832289

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Boost & aarch64
  2020-12-24 10:36 [ISSUE] Boost & aarch64 unspecd
  2020-12-24 10:36 ` unspecd
@ 2020-12-24 12:37 ` unspecd
  2020-12-24 12:38 ` unspecd
  2020-12-24 12:45 ` unspecd
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2020-12-24 12:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/issues/27398#issuecomment-750871056

Comment:
Here is a minimal non-working example:
```c++
// regex.cpp
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>

int main()
{
    std::string str = "";
    auto expr = boost::make_u32regex(str);
    std::string str_no_symbols = boost::u32regex_replace(str, expr, "");

    return 0;
}
```
```sh
$ $(xdistdir)/masterdir/bin/aarch64-linux-musl-g++ --sysroot=$(xdistdir)/masterdir/usr/aarch64-linux-musl -o regex regex.cpp -lboost_regex


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Boost & aarch64
  2020-12-24 10:36 [ISSUE] Boost & aarch64 unspecd
  2020-12-24 10:36 ` unspecd
  2020-12-24 12:37 ` unspecd
@ 2020-12-24 12:38 ` unspecd
  2020-12-24 12:45 ` unspecd
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2020-12-24 12:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/issues/27398#issuecomment-750871056

Comment:
Here is a minimal non-working example:
```c++
// regex.cpp
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>

int main()
{
    std::string str = "";
    auto expr = boost::make_u32regex(str);
    //std::string str_no_symbols = boost::u32regex_replace(str, expr, "");

    return 0;
}
```

```sh
$ $(xdistdir)/masterdir/bin/aarch64-linux-musl-g++ --sysroot=$(xdistdir)/masterdir/usr/aarch64-linux-musl -o regex regex.cpp -lboost_regex


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Boost & aarch64
  2020-12-24 10:36 [ISSUE] Boost & aarch64 unspecd
                   ` (2 preceding siblings ...)
  2020-12-24 12:38 ` unspecd
@ 2020-12-24 12:45 ` unspecd
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2020-12-24 12:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/issues/27398#issuecomment-750871056

Comment:
Here is a minimal non-working example:
```c++
// regex.cpp
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>

int main()
{
    std::string str = "";
    auto expr = boost::make_u32regex(str);
    //std::string str_no_symbols = boost::u32regex_replace(str, expr, "");

    return 0;
}
```

```sh
$ $(xdistdir)/masterdir/bin/aarch64-linux-musl-g++ \
    --sysroot=$(xdistdir)/masterdir/usr/aarch64-linux-musl -o regex regex.cpp -lboost_regex


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-24 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 10:36 [ISSUE] Boost & aarch64 unspecd
2020-12-24 10:36 ` unspecd
2020-12-24 12:37 ` unspecd
2020-12-24 12:38 ` unspecd
2020-12-24 12:45 ` unspecd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).