pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
3+ messages / 3 participants
[nested] [flat]
* BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
@ 2022-05-24 08:19 PG Bug reporting form <noreply@postgresql.org>
2022-05-24 11:00 ` Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: PG Bug reporting form @ 2022-05-24 08:19 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: v-yayan8@microsoft.com
The following bug has been logged on the website:
Bug reference: 17492
Logged by: Shino Yang
Email address: v-yayan8@microsoft.com
PostgreSQL version: 14.0
Operating system: Windows Server 2019
Description:
Environment:
Windows Server 2019 + VS2019 + PostgreSQL master branch on c28839c commit.
PostgreSQL failed to build "error MSB4126: The specified solution
configuration "Release|arm64" is invalid. Please specify a valid solution
configuration using the Configuration and Platform properties" with MSVC on
windows. It can be produced on master branch on c28839c commit.
Repro steps:
1. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64
-arch=arm64
2. git clone https://git.postgresql.org/git/postgresql.git
F:\gitP\git\postgresql.git
3. git -C "F:\gitP\git\postgresql.git" reset --hard c28839c
4. cd F:\gitP\git\postgresql.git\src\tools\msvc
5. set
PATH=F:\gitP\git\postgresql.git\..\tools;F:\tools\gnuwin32\bin;%PATH%
6. build RELEASE
7. cd F:\gitP\git\postgresql.git
8. msbuild /m /p:Platform=arm64 /p:Configuration=Release
/p:PlatformToolset=v141 pgsql.sln /verbosity:normal /t:Rebuild
Error Message:
F:\gitP\git\postgresql.git\pgsql.sln.metaproj : error MSB4126: The specified
solution configuration "Release|arm64" is invalid. Please specify a valid
solution configuration using the Configuration and Platform properties (e.g.
MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or
leave those properties blank to use the default solution configuration.
[F:\gitP\git\postgresql.git\pgsql.sln]
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
2022-05-24 08:19 BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid PG Bug reporting form <noreply@postgresql.org>
@ 2022-05-24 11:00 ` Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
2022-05-25 00:37 ` Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 3+ messages in thread
From: Juan José Santamaría Flecha @ 2022-05-24 11:00 UTC (permalink / raw)
To: v-yayan8@microsoft.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Tue, May 24, 2022 at 12:30 PM PG Bug reporting form <
noreply@postgresql.org> wrote:
>
> PostgreSQL failed to build "error MSB4126: The specified solution
> configuration "Release|arm64" is invalid. Please specify a valid solution
> configuration using the Configuration and Platform properties" with MSVC on
> windows. It can be produced on master branch on c28839c commit.
>
> There is an open item in the current commitfest [1] to add support for
this configuration, maybe you can contribute by reviewing it.
[1] https://commitfest.postgresql.org/38/3561/
Regards,
Juan José Santamaría Flecha
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
2022-05-24 08:19 BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid PG Bug reporting form <noreply@postgresql.org>
2022-05-24 11:00 ` Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
@ 2022-05-25 00:37 ` Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 3+ messages in thread
From: Michael Paquier @ 2022-05-25 00:37 UTC (permalink / raw)
To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>; +Cc: v-yayan8@microsoft.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Tue, May 24, 2022 at 01:00:55PM +0200, Juan José Santamaría Flecha wrote:
> There is an open item in the current commitfest [1] to add support for
> this configuration, maybe you can contribute by reviewing it.
>
> [1] https://commitfest.postgresql.org/38/3561/
Another thing that you may be interested in in the long-term is to
contribute a buildfarm member, so as we can know in live that this
configuration still works after any commits happening in the code
tree, of course once the patch to add this compatibility gets merged:
https://buildfarm.postgresql.org/index.html
https://wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto
I don't think that we are completely in the clear with Arm64 regarding
the handling is ASLR, something visibly mandatory when compiling with
MSVC in this architecture, but we could move on with considering the
support as experimental, which is something Thomas Munro has mentioned
on the other thread.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2022-05-25 00:37 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 08:19 BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid PG Bug reporting form <noreply@postgresql.org>
2022-05-24 11:00 ` Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
2022-05-25 00:37 ` Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox