From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 26 May 2019 14:46:28 +0200 Subject: [Buildroot] [PATCH v2] mfgtools: bump version to 1.2.91 In-Reply-To: <20190525141800.3991-1-bisson.gary@gmail.com> References: <20190525141800.3991-1-bisson.gary@gmail.com> Message-ID: <20190526144628.1f0a246a@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Gary, On Sat, 25 May 2019 16:18:00 +0200 Gary Bisson wrote: > NXP deprecated the old mfgtools code, also called mfgtools v2 although > the releases were named v0.xx. > > It has been replaced by the Universal Update Utility (uuu), also called > mfgtools v3 although the releases are named v1.x.yy. > > This new tool actually resides in the same repository in the master > branch whereas the old one is now in a 'linux' branch. > > Since the old tool has issues building lately, let's switch to the new > one. Note that uuu seems to be cleaner, supports much more features > (i.MX8/8M/8QXP boot, fastboot etc..) and has a better documentation: > https://github.com/NXPmicro/mfgtools/wiki > > Signed-off-by: Gary Bisson Thanks for this patch. Unfortunately, it fails to build on my system, with: [100%] Linking CXX executable uuu /usr/bin/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status This is because it is passing -static-libstdc++ at link time, for some odd reason. Do you know why they are doing: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc") in uuu/CMakeLists.txt. This seems pretty bogus for something that should be just a regular user-space program. Could you have a look into this ? Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com