<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/devkitpro/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/devkitpro/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 Dec 2024 14:28:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/devkitpro/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>arm-none-eabi-gcc: error: unrecognized command-line option '-mno-fpu'</title><link>https://sourceforge.net/p/devkitpro/bugs/135/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to compile a homebrew application, but instead I get this error: arm-none-eabi-gcc: error: unrecognized command-line option '-mno-fpu'. Is there a solution?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">plsno</dc:creator><pubDate>Mon, 30 Dec 2024 14:28:46 -0000</pubDate><guid>https://sourceforge.netf84cfb14d444cfac67ce3b9060d8f4b773b6e026</guid></item><item><title>[devkitARM] Windows shenanigans when passing -L to ld</title><link>https://sourceforge.net/p/devkitpro/bugs/134/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Invocation:&lt;br/&gt;
&lt;code&gt;${DEVKITARM}/bin/arm-none-eabi-ld -L path/to/library -T ld_script.ld -o foo.elf src/foo.o asm/crt0.s -lgcc -lc&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Example line from ld_script.ld:&lt;br/&gt;
&lt;code&gt;path/to/library/libc.a:memcpy.o(.text);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Result on OSX and Linux:  ELF builds without error&lt;/p&gt;
&lt;p&gt;Result on Windows (cygwin):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;`memcpy' referenced in section `.text' of src/foo.o: defined in discarded section `.text' of path/to/library\libc.a(memcpy.o)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;For whatever reason, &lt;code&gt;ld&lt;/code&gt; appends an NT-style forward slash to the &lt;code&gt;-L&lt;/code&gt; path even when the rest of the path exclusively uses backslashes.  It is then unable to equate the resulting mixed path syntax with any equivalent path in the linker script.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott Norton</dc:creator><pubDate>Sun, 21 Jan 2018 23:58:59 -0000</pubDate><guid>https://sourceforge.net7056035c7e76dc3959baa56e383f0d98292f7923</guid></item><item><title>#131 Example makefiles fail on mac,</title><link>https://sourceforge.net/p/devkitpro/bugs/131/?limit=25#6aab</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;: unconfirmed --&amp;gt; user_error&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Murphy</dc:creator><pubDate>Tue, 26 Jan 2016 13:56:27 -0000</pubDate><guid>https://sourceforge.netbea6fc5c60b484d19587c7bc9c21b0325cac77df</guid></item><item><title>#132 [libfat] Possible incorrect checking against '\0' in _FAT_directory_mbstoucs2()</title><link>https://sourceforge.net/p/devkitpro/bugs/132/?limit=25#5483</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Murphy</dc:creator><pubDate>Tue, 13 Jan 2015 16:50:31 -0000</pubDate><guid>https://sourceforge.netc96406cbf19d108baf64ad03ee7fc1ab9bdb70bc</guid></item><item><title>#133 [libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/?limit=25#cf9c</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Dave Murphy&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Murphy</dc:creator><pubDate>Tue, 13 Jan 2015 16:49:18 -0000</pubDate><guid>https://sourceforge.net06ec83c5d41d5d70edd5202290167ff034fa72e2</guid></item><item><title>#133 [libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/?limit=25#f318</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I figured out what you were talking about &amp;amp; fixed it with this patch - &lt;a href="https://github.com/devkitPro/libfat/commit/ef7a8748e614652b892ecc7634575b9e1d90188b" rel="nofollow"&gt;https://github.com/devkitPro/libfat/commit/ef7a8748e614652b892ecc7634575b9e1d90188b&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Murphy</dc:creator><pubDate>Tue, 13 Jan 2015 16:48:55 -0000</pubDate><guid>https://sourceforge.netea4bcb2ddbe41f4270aa616c9ac31f8deb174c56</guid></item><item><title>#133 [libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/?limit=25#a0f3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have just committed the patch.&lt;/p&gt;
&lt;p&gt;attr requires a conversion to char when passed to _FAT_fat_clusterToSector.&lt;/p&gt;
&lt;p&gt;_FAT_fat_clusterToSector took the fisrt byte of an integer variable. In the little endian system this byte is the least significant but in the big endian system (like the Wii) is the most significant which in the case of attr is always 0.&lt;/p&gt;
&lt;p&gt;I checked the patch on the WII.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fabio Olimpieri</dc:creator><pubDate>Mon, 12 Jan 2015 21:31:55 -0000</pubDate><guid>https://sourceforge.netf88d476af7179b5eac56bf218a4ce1ed421cd2d3</guid></item><item><title>#133 [libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/?limit=25#6d37</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The NULL pointer was already fixed. See &lt;a href="https://github.com/devkitPro/libfat/commit/b42fdc447c6066202ac05a71d466ea480a97d6cf" rel="nofollow"&gt;https://github.com/devkitPro/libfat/commit/b42fdc447c6066202ac05a71d466ea480a97d6cf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I can't tell what you're changing and why, can you please supply a diff.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Murphy</dc:creator><pubDate>Mon, 12 Jan 2015 15:38:12 -0000</pubDate><guid>https://sourceforge.neta3d59ddaa1ac4f3ba7cc3b37030ac71625bb0530</guid></item><item><title>[libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The instruction FAT_setAttr gives "dsi exeption" in all the last versions (1.10.11-13) of libfat.&lt;/p&gt;
&lt;p&gt;This is due to a bug in FAT_setAttr (fatfile.c): a NULL pointer is passed to _FAT_directory_entryFromPath which expects a pointer to a variable.&lt;/p&gt;
&lt;p&gt;Moreover there is another bug. The code does take into account the endianess of powerPC and therefore the attr variable is always passed with a 0 value.&lt;/p&gt;
&lt;p&gt;This code solves both the issues (NEW indicates the new/modified lines).&lt;/p&gt;
&lt;p&gt;int FAT_setAttr(const char *file, int attr) {&lt;/p&gt;
&lt;p&gt;// Defines...&lt;br /&gt;
DIR_ENTRY_POSITION entryEnd;&lt;br /&gt;
PARTITION &lt;em&gt;partition = NULL;&lt;br /&gt;
DIR_ENTRY&lt;/em&gt; dirEntry = NULL;&lt;/p&gt;
&lt;p&gt;DIR_ENTRY dirEntry_variable; //NEW&lt;br /&gt;
char attr_byte; //NEW&lt;/p&gt;
&lt;p&gt;dirEntry =&amp;amp;dirEntry_variable; //NEW&lt;br /&gt;
attr_byte= (char) attr; //NEW&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;// Write Data&lt;br /&gt;
_FAT_cache_writePartialSector (&lt;br /&gt;
partition-&amp;gt;cache // Cache to write&lt;br /&gt;
, &amp;amp;attr_byte // Value to be written ----&amp;gt; NEW&lt;br /&gt;
, _FAT_fat_clusterToSector( partition , entryEnd.cluster ) + entryEnd.sector // cluster&lt;br /&gt;
, entryEnd.offset * DIR_ENTRY_DATA_SIZE + DIR_ENTRY_attributes // offset&lt;br /&gt;
, 1 // Size in bytes&lt;br /&gt;
);&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fabio Olimpieri</dc:creator><pubDate>Sun, 11 Jan 2015 20:54:59 -0000</pubDate><guid>https://sourceforge.netefe56e63d02403a691649a9cd92266ca1854f841</guid></item><item><title>[libfat] FAT_setAttr dsi exception</title><link>https://sourceforge.net/p/devkitpro/bugs/133/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 133 has been modified: &lt;span&gt;[libfat]&lt;/span&gt; FAT_setAttr dsi exception&lt;br /&gt;
Edited By: Dave Murphy (wntrmute)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br /&gt;
Owner updated: None =&amp;gt; u'wntrmute'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fabio Olimpieri</dc:creator><pubDate>Sun, 11 Jan 2015 20:54:59 -0000</pubDate><guid>https://sourceforge.net782d655897b21bd8f2f20971f952ebbbc683c4b9</guid></item></channel></rss>