[Bug libstdc++/56482] missing -lpthread in configure when checking for pthreads_num_processors_np

2023-08-09 Thread k2k at narod dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56482 --- Comment #7 from Karlson2k --- Sorry, I can't check it, my build environment was lost a long time ago.

[Bug c/71983] "error: initializer element is not constant" only with -O0

2016-07-23 Thread k2k at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 --- Comment #2 from Karlson2k --- clang and MSVC accept this code. Inconsistency at different optimization levels is confusing and make harder to reveal errors in code.

[Bug c/71983] New: "error: initializer element is not constant" only with -O0

2016-07-23 Thread k2k at narod dot ru
ty: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: k2k at narod dot ru Target Milestone: --- Got error "error: initializer element is not constant" when following code is compiled with '-O0' int main(void) { st

[Bug libstdc++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring

2013-03-04 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522 --- Comment #17 from Karlson2k 2013-03-05 01:28:06 UTC --- Created attachment 29582 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29582 Proposed patch Possible patch for latest MinGW-w64. Patched GCC version: 4.7.2 Can be easy ed

[Bug libstdc++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring

2013-03-04 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522 Karlson2k changed: What|Removed |Added CC||k2k at narod dot ru --- Comment

[Bug plugins/52872] --enable-plugin; incorrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac

2013-03-03 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52872 --- Comment #7 from Karlson2k 2013-03-03 14:57:11 UTC --- (In reply to comment #6) > Yes, patch looks reasonable. Please sent it to patch ML. > This patch is small, so it is ok, but do you have already made paper-work with > FSF for gcc?

[Bug plugins/52872] --enable-plugin; incorrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac

2013-03-03 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52872 Karlson2k changed: What|Removed |Added CC||k2k at narod dot ru --- Comment #5

[Bug plugins/52872] --enable-plugin; incorrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac

2013-03-03 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52872 --- Comment #4 from Karlson2k 2013-03-03 10:25:47 UTC --- Created attachment 29569 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29569 Possible patch

[Bug libstdc++/56475] Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?)

2013-03-01 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56475 --- Comment #10 from Karlson2k 2013-03-01 13:29:40 UTC --- Could you fix 4.7 branch too?

[Bug libstdc++/56482] missing -lpthread in configure when checking for pthreads_num_processors_np

2013-02-28 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56482 --- Comment #2 from Karlson2k 2013-02-28 14:08:02 UTC --- If it'll be only compile test, how result can be linked when dependence on libpthread will be unknown?

[Bug libgcc/56482] New: missing -lpthread in configure when checking for pthreads_num_processors_np

2013-02-28 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56482 Bug #: 56482 Summary: missing -lpthread in configure when checking for pthreads_num_processors_np Classification: Unclassified Product: gcc Version: 4.7.2 S

[Bug libstdc++/56475] Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?)

2013-02-27 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56475 --- Comment #5 from Karlson2k 2013-02-27 22:07:21 UTC --- (In reply to comment #3) > Well, AC_TRY_RUN is for sure the wrong approach here. As such tests are > failing badly on cross-compilers. > I think sanest way to solve this is by spec

[Bug libstdc++/56475] Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?)

2013-02-27 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56475 --- Comment #2 from Karlson2k 2013-02-27 19:28:17 UTC --- Better to open random devices with "rb"? Or just 'stat' device?

[Bug libstdc++/56475] New: Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?)

2013-02-27 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56475 Bug #: 56475 Summary: Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?) Classification: Unclassified

[Bug c/56371] When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-25 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 --- Comment #5 from Karlson2k 2013-02-25 11:05:47 UTC --- With current configure some capabilities tests for in-tree gas and ld are based only on version (that's wrong, because for COFF many features (TLS) isn't supported), other tests requ

[Bug c/56371] When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-25 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 --- Comment #4 from Karlson2k 2013-02-25 10:53:36 UTC --- Yes, it's related, but has more bugs to fix.

[Bug libgcj/56435] New: Wrong 'ld' version detected during configuring libjava

2013-02-23 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56435 Bug #: 56435 Summary: Wrong 'ld' version detected during configuring libjava Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: mi

[Bug c/56371] When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 --- Comment #2 from Karlson2k 2013-02-22 15:59:56 UTC --- There is bug in configure script. Just before 'checking linker for .hidden support', configure detect ld version by: if test $in_tree_ld != yes ; then ld_ver=`$gcc_cv_ld --versi

[Bug c/56368] GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 --- Comment #3 from Karlson2k 2013-02-22 15:49:37 UTC --- Seems that string objdir=$lt_cv_objdir was put to object directory detection script by mistake. 'objdir' is used in configure only for AR and NM and used in the same way like i

[Bug c/56368] GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 --- Comment #2 from Karlson2k 2013-02-22 15:44:42 UTC --- Created attachment 29524 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29524 Patch for configure for correct work with combined tree Apply patch + regenerate configure

[Bug ada/56271] GCC build errors when building ada and using LDFLAGS

2013-02-20 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56271 --- Comment #4 from Karlson2k 2013-02-20 21:29:06 UTC --- While this fix is OK in most cases, there is more correct fix. 'filter-out' use first argument as space separated list. Consider that WARN_CFLAGS is "-Wall -pedantic" (including doub

[Bug c/56368] GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-19 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 --- Comment #1 from Karlson2k 2013-02-19 16:41:03 UTC --- Looks like confusing naming. 'objdir' in 'configure' means 'relative path to directory for objects files', usually '.libs'. 'objdir' in makefile means 'absolute path to main build

[Bug java/56372] New: Missing libgcj caused ICE (stack overflow) in jc1

2013-02-18 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56372 Bug #: 56372 Summary: Missing libgcj caused ICE (stack overflow) in jc1 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug c/56371] When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-17 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 --- Comment #1 from Karlson2k 2013-02-17 23:12:26 UTC --- Too many differences to quickly predict what and where wrong, but most significant for me is 'thread-local storage'. Compiled GCC from combined tree don't have emulation for TLS and

[Bug c/56371] New: When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-17 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 Bug #: 56371 Summary: When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld' Classification: Unclassified Product: gcc Version:

[Bug c/56368] New: GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-17 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 Bug #: 56368 Summary: GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils) Classification: Unclassified Product: gcc Version: 4.7.2

[Bug target/52122] [4.6/4.7/4.8 Regression] incorrect ln -s replacement for mingw like targets in configure files

2013-02-12 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52122 --- Comment #23 from Karlson2k 2013-02-12 18:11:09 UTC --- Try to use LN_S_RECURSIVE:= instead of LN_S_RECURSIVE=

[Bug c/56280] GCC builded for MinGW32(-w64) contains malformed directory in include search path

2013-02-10 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56280 --- Comment #2 from Karlson2k 2013-02-11 00:32:16 UTC --- I didn't test it on other hosts, may be solution is a little more complex, like suggested in bug 56279 comment #1

[Bug c/56280] GCC builded for MinGW32(-w64) contains malformed directory in include search path

2013-02-10 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56280 --- Comment #1 from Karlson2k 2013-02-11 00:29:26 UTC --- With simple patch: --- ./gcc/cppdefault.c.orig 2013-02-11 01:50:57 +0400 +++ ./gcc/cppdefault.c 2013-02-11 03:54:00 +0400 @@ -63,7 +63,7 @@ const struct default_include cpp_inc