GNU GRUB - Bugs: bug #3343, fails to compile: undefined...
You are not allowed to post comments on this tracker with your current authentication level.
bug #3343: fails to compile: undefined reference to memcpy
Submitter: | Invalid User ID <#18493> | ||
Submitted: | Sun 27 Apr 2003 11:21:42 AM UTC | ||
Category: | Compilation | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Non-software Error |
Status: | Wont Fix | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Closed | Release: | None |
Release: | 0.93 | Reproducibility: | Every Time |
Planned Release: | None |
Fri 09 Jan 2004 09:50:08 PM UTC, comment #5: |
Anonymous |
Fri 09 Jan 2004 09:48:44 PM UTC, comment #4: There's a better fix. The API to ti_get_term() and ti_set_term() should use a pointer instead of implicitly copying the argument by using assigment. Since there's only a single user of the "struct terminfo" (builtins.c), there's no need to copy. Please fix it this way instead of hacking around this. |
Anonymous |
Sun 16 Nov 2003 02:37:11 PM UTC, comment #3: Do not specify -O3 or other options to gcc. |
Yoshinori K. Okuji <okuji> |
Tue 22 Jul 2003 06:01:13 PM UTC, comment #2: Actually, my last comment does not work that great, but the attached files should solve the problem. |
Invalid User ID <#21165> |
Tue 22 Jul 2003 04:42:11 PM UTC, comment #1: In the three lines mentioned memcpy is not used directly, but there are pass-by-value semantics used. As a consequence it seems that newer versions of gcc try to use memcpy (from stdlib) to create the duplicate structures.
|
Invalid User ID <#21165> |
Sun 27 Apr 2003 11:21:42 AM UTC, original submission:
|
Invalid User ID <#18493> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2003-11-16 | okuji | Status | None | None | |
Open/Closed | Open | None |
Powered by Savane 3.13-f8d8.
Corresponding source code
The problem is NOT caused by -O3. It's caused by a poor API.