[Bug other/69821] New: -fdebug-prefix-map doesn't affect gcc command line switches in DWARF DW_AT_producer.

2016-02-14 Thread hongxu.jia at windriver dot com
IRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: hongxu.jia at windriver dot com Target Milestone: --- Hi all, I come from OpenEmbedded community (https://www.yoctoproject.org/), thanks the powerful gc

[Bug other/69821] -fdebug-prefix-map doesn't affect gcc command line switches in DWARF DW_AT_producer.

2016-02-14 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69821 --- Comment #1 from hongxu jia --- Created attachment 37691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37691&action=edit add option Compile without this fix: objdump -g packages-split/lib32-glibc-dev/usr/lib/gcrt1.o ... |<5f> DW_

[Bug other/69821] -fdebug-prefix-map doesn't affect gcc command line switches in DWARF DW_AT_producer.

2016-02-15 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69821 --- Comment #3 from hongxu jia --- (In reply to Andrew Pinski from comment #2) > Patches should be sent to gcc-patches@. Got it //Hongxu

[Bug other/69821] -fdebug-prefix-map doesn't affect gcc command line switches in DWARF DW_AT_producer.

2016-02-15 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69821 --- Comment #8 from hongxu jia --- (In reply to Jakub Jelinek from comment #7) > It is not a regression and is user visible change, so I think changing it > just in GCC 6 is sufficient. Got it, thanks for pointing it out. I will backport to our

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-19 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 --- Comment #3 from hongxu jia --- (In reply to Richard Biener from comment #2) > IMHO it doesn't make sense to prune system header paths here and having them > is desired. Hi Richard, It is just a simple example to explain the requirements.

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-19 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 --- Comment #4 from hongxu jia --- Created attachment 37995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37995&action=edit Implement patch

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-19 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 --- Comment #1 from hongxu jia --- So I suggest gcc could provide a option '-ffile-prefix-map==' to map directory in __FILE__ and replace it with directory. It is similar to '-fdebug-prefix-map==', but the latter is used for DWARF, and the new

[Bug other/70268] New: add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-19 Thread hongxu.jia at windriver dot com
Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: hongxu.jia at windriver dot com Target Milestone: --- Hi all, I come from OpenEmbedded community

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-20 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 --- Comment #6 from hongxu jia --- (In reply to rguent...@suse.de from comment #5) > On Thu, 17 Mar 2016, hongxu.jia at windriver dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 > > > > --- Co

[Bug other/70428] New: -fdebug-prefix-map did not support to remap sources with relative path

2016-03-27 Thread hongxu.jia at windriver dot com
: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: hongxu.jia at windriver dot com Target Milestone: --- 1. Prepare sources and build dir $ pwd /folk/hjia $ mkdir dir1/dir2 test1/test2/ -p $ cat > test1/test2/test.c <&

[Bug other/70428] -fdebug-prefix-map did not support to remap sources with relative path

2016-03-30 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70428 --- Comment #2 from hongxu jia --- (In reply to jos...@codesourcery.com from comment #1) > I don't think -fdebug-prefix-map is meant to cover this case; you're meant > to use it with paths in the form in which they appear in debug info, which >

[Bug other/70428] -fdebug-prefix-map did not support to remap sources with relative path

2016-03-30 Thread hongxu.jia at windriver dot com
|--- |INVALID --- Comment #4 from hongxu jia --- (In reply to jos...@codesourcery.com from comment #3) > On Wed, 30 Mar 2016, hongxu.jia at windriver dot com wrote: > > > Do you mean the combination of using *"relative path" source to compile* > > and *"

[Bug debug/60643] New: ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-03-24 Thread hongxu.jia at windriver dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: hongxu.jia at windriver dot com Created attachment 32440 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32440&action=edit the config.log

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-03-24 Thread hongxu.jia at windriver dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 hongxu jia changed: What|Removed |Added Target||mips-wrs-linux Host|

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-03-24 Thread hongxu.jia at windriver dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 --- Comment #4 from hongxu jia --- Created attachment 32441 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32441&action=edit the open-embedded patches

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-03-25 Thread hongxu.jia at windriver dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 --- Comment #10 from hongxu jia --- (In reply to Andrew Pinski from comment #8) > Works for me with an unmodified GCC 4.8.2. > > So please try removing all of the Open-embedded patches since one of them is > causing this bug. I have removed all

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-12-01 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 hongxu jia changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WORKSFORME

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-12-02 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 hongxu jia changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/61899] New: gcc/Makefile.in: compile failure occasionally while parallel make enabled

2014-07-24 Thread hongxu.jia at windriver dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hongxu.jia at windriver dot com Created attachment 33182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33182&action=edit compile failure log Reproduce steps 1. M

[Bug c/61899] gcc/Makefile.in: compile failure occasionally while parallel make enabled

2014-07-24 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61899 --- Comment #1 from hongxu jia --- Here is my solution: gcc/Makefile.in: add missing errors.o/gcc-ar.o/gcc-nm.o/gcc-ranlib.o to OBJS While parallel make, the '$(ALL_HOST_OBJS) : | $(generated_files)' rule doesn't work for these missing objects.

[Bug bootstrap/61899] gcc/Makefile.in: compile failure occasionally while parallel make enabled

2014-07-25 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61899 --- Comment #2 from hongxu jia --- The previous fix is incorrect, it caused other build failure. Here is the new solution: The gcc-ar.o, gcc-nm.o, gcc-ranlib.o and errors.o included config.h which was a generated file. But no explicity rule to c