Richard Earnshaw (rearnsha) <[email protected]>) commented on the code:


> +++ libstdc++-v3/acinclude.m4
> @@ -5435,6 +5435,7 @@ BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS 
> -DBACKTRACE_ELF_SIZE=$elfsize"
>    if test "$enable_libstdcxx_backtrace" = "auto"; then
>      case "$host" in
>        avr-*-*) enable_libstdcxx_backtrace=no ;;
> +      arm*-*-eabi*) enable_libstdcxx_backtrace=no ;;
If I look through config.gcc, I see patterns like
```
        arm*-*-netbsdelf-*eabi*)
```
Which would also match your wild-card pattern.  So I think this would 
incorrectly disable backtrace on some hosted platforms.

This one
```
arm*-*-uclinux*eabi*)           # ARM ucLinux
```
might, or might not, also be an issue.

You can normally work around this by putting a more explicit match before your 
new one, but it can be a bit fragile.  I do wonder if this is really worthwhile 
for a testsuite issue.


--
https://forge.sourceware.org/gcc/gcc/pulls/270#issuecomment-8543

Reply via email to